Nfc constructor

Nfc({
  1. required MethodChannel channel,
  2. required NfcHandler nfcHandler,
})

Implementation

Nfc({required this.channel, required this.nfcHandler}) {
  channel.setMethodCallHandler(_callHandler);
}