containsPersistentLabel method

Future<bool?> containsPersistentLabel(
  1. String labelName
)

Returns true if the there's a label with the given name.

@param labelName Label to check if exists

Implementation

Future<bool?> containsPersistentLabel(String labelName) {
  var args = buildArguments();
  args[Args.labelName] = labelName;
  return _methodChannel.invokeMethod('containsPersistentLabel', args);
}