isNfcEnabled method

  1. @override
Future<bool?> isNfcEnabled()
override

Implementation

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