getPersistentLabel method

Future<String?> getPersistentLabel(
  1. String labelName
)

Returns the value of the specified label. If more than one label needs to be checked use ClientConfiguration#getPersistentLabels() to retrieve multiple labels. @param labelName Label name to retrieve the value @return The label name value

Implementation

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