platformCode static method

String platformCode()

Platform code

Implementation

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