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