checkDeviceSupport method

  1. @override
Future<bool> checkDeviceSupport()
override

Implementation

@override
Future<bool> checkDeviceSupport() async {
  try {
    final result = await methodChannel.invokeMethod('device_supported');
    return result;
  } on PlatformException catch (e) {
    return false;
  }
}