consentEventListener property
Notifier for consent events (accepted or declined).
Consolidates consent accepted/declined into a single stream with status differentiation.
Usage:
consentEventListener.stream.listen((event) {
if (event == IaCardLinkConsentEvent.accepted) {
// Handle consent accepted
} else {
// Handle consent declined
}
});
Implementation
StreamController<IaCardLinkConsentEvent> get consentEventListener;