platformNames constant
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",
};