isPlatformSupported property

Future<bool?> isPlatformSupported

Implementation

static Future<bool?> get isPlatformSupported async {
  try {
    return await _channel.invokeMethod('isPlatformSupported');
  } on MissingPluginException {
    return false;
  } catch (e) {
    print("Crash");
    print(e);
    throw e;
  }
}