label property

String get label

Implementation

String get label {
  String? tag;
  if (isGlobal) {
    if (group == null) {
      tag = 'Global';
    } else {
      tag = 'Global::$group';
    }
  }
  if (scope == NopShareScope.unique) {
    tag = 'Local';
  }

  tag ??= group?.toString() ?? '';
  return '[$tag]::$_t';
}