onNfcEvent property

Stream<NfcEvent> get onNfcEvent

Card-emulation events, once enableNfcEvents has been called.

Broadcast, and never closed. Nothing arrives before enableNfcEvents succeeds, and on a device below API 36 nothing arrives at all.

Implementation

Stream<NfcEvent> get onNfcEvent => NfcCallbacks.instance.nfcEvents.stream.map(NfcEvent._);