onCancelRequested property
Stream<CancelRequestedEvent>
get
onCancelRequested
Fired when |SCardCancel| is called.
This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gaacbbc0c6d6c0cbbeb4f4debf6fbeeee6 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardcancel
Implementation
Stream<CancelRequestedEvent> get onCancelRequested => _client.onEvent
.where((event) => event.name == 'SmartCardEmulation.cancelRequested')
.map((event) => CancelRequestedEvent.fromJson(event.parameters));