displayName property

String get displayName

Implementation

String get displayName {
  switch (this) {
    case DesktopPlatform.windows:
      return 'Windows only';
    case DesktopPlatform.macos:
      return 'macOS only';
    case DesktopPlatform.linux:
      return 'Linux only';
    case DesktopPlatform.all:
      return 'All platforms (Windows, macOS, Linux)';
    case DesktopPlatform.custom:
      return 'Custom selection';
  }
}