platformName top-level property
String
platformName
Implementation
String get platformName => isWeb
? 'Web'
: isAndroid
? 'Android'
: 'IOS';
String get platformName => isWeb
? 'Web'
: isAndroid
? 'Android'
: 'IOS';