platformStr static method
Implementation
static String platformStr() {
if (Platform.isAndroid) {
return "android";
} else if (Platform.isIOS) {
return "ios";
} else if (Platform.isMacOS) {
return "macos";
} else if (Platform.isWindows) {
return "windows";
}
return "web";
}