hasTag method

Future<bool> hasTag(
  1. String kref,
  2. String tag
)
inherited

Checks if a revision currently has a tag.

Implementation

Future<bool> hasTag(String kref, String tag) async {
  final request = HasTagRequest()
    ..kref = Kref(uri: kref)
    ..tag = tag;
  final response = await stub.hasTag(request, options: callOptions);
  return response.hasTag;
}