getPlatformType static method

Future<String> getPlatformType()

By default appmate SDK return platform type depending on which environment is supported

The platform type will be returned as the result

Implementation

static Future<String> getPlatformType() async {
  if (!Platform.isAndroid) {
    return "";
  }
  String response = await _channel.invokeMethod('getPlatformType');
  return response;
}