platformCode static method
Platform code
Implementation
static String platformCode() {
if (Platform.isAndroid) return "2";
if (Platform.isIOS) return "3";
return "2";
}
Platform code
static String platformCode() {
if (Platform.isAndroid) return "2";
if (Platform.isIOS) return "3";
return "2";
}