displayName property

String get displayName

Returns a human-readable string representation

Implementation

String get displayName {
  switch (this) {
    case TimeZoneType.local:
      return 'Local';
    case TimeZoneType.utc:
      return 'UTC';
  }
}