displayName property

String get displayName

A display name suitable for human-facing UI (e.g. "iOS", "macOS").

Implementation

String get displayName => switch (this) {
  ReleasePlatform.android => 'Android',
  ReleasePlatform.ios => 'iOS',
  ReleasePlatform.linux => 'Linux',
  ReleasePlatform.macos => 'macOS',
  ReleasePlatform.windows => 'Windows',
};