isNfcAvailable method
Check if NFC is available on the device
Implementation
@override
Future<bool> isNfcAvailable() async {
try {
final result = await methodChannel.invokeMethod<bool>('isNfcAvailable');
return result ?? false;
} catch (e) {
print('Error checking NFC availability: $e');
return false;
}
}