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