value property
String
value
Implementation
String get value {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 'android';
case TargetPlatform.fuchsia:
return 'fuchsia';
case TargetPlatform.iOS:
return 'ios';
case TargetPlatform.linux:
return 'linux';
case TargetPlatform.macOS:
return 'mac';
case TargetPlatform.windows:
return 'windows';
}
}