name property

String get name

Implementation

String get name {
  final self = this;

  if (self == null) {
    return '<unspecified>';
  }

  if (self == Zone.root) {
    return 'root';
  }

  return self[zoneNameKey]?.toString() ?? '<unknown>';
}