hasTag method

Future<bool> hasTag(
  1. String tag
)

Checks if this revision has a specific tag.

if (await revision.hasTag('approved')) {
  print('Revision is approved!');
}

Implementation

Future<bool> hasTag(String tag) async {
  return client.hasTag(kref.uri, tag);
}