name property
String
get
name
Returns a string version of the platform
Implementation
static String get name {
return switch (type) {
PlatformType.android => 'android',
PlatformType.ios => 'ios',
PlatformType.web => 'web',
PlatformType.macOS => 'macos',
PlatformType.windows => 'windows',
PlatformType.linux => 'linux',
PlatformType.fuchsia => 'fuchsia',
};
}