platformNames constant

Map<TargetPlatform, String> const platformNames

The user-facing names of the platforms

Implementation

static const Map<TargetPlatform, String> platformNames = {
  TargetPlatform.android: "Android",
  TargetPlatform.ios: "iOS",
  TargetPlatform.macos: "macOS",
  TargetPlatform.windows: "Windows",
  TargetPlatform.linux: "Linux",
  TargetPlatform.web: "Web",
};