platform top-level property
String
get
platform
Implementation
String get platform => isWeb
? "web"
: isMobile
? "mobile"
: "desktop";
String get platform => isWeb
? "web"
: isMobile
? "mobile"
: "desktop";