getPlatform static method
Implementation
static String getPlatform() {
String platform = "";
if (Platform.isAndroid) {
platform = "3";
} else if (Platform.isIOS) {
platform = "2";
}
return platform;
}
static String getPlatform() {
String platform = "";
if (Platform.isAndroid) {
platform = "3";
} else if (Platform.isIOS) {
platform = "2";
}
return platform;
}