applePayStateUpdates property
Stream of Apple Pay availability state changes from the iOS Kit's
applePayAvailability.statePublisher. Each event is the raw string
("ready" / "setupRequired" / "unavailable"); the facade converts
to ApplePayAvailabilityState.
Implementation
@override
Stream<String> get applePayStateUpdates {
_applePayStateUpdatesStream ??=
applePayStateEventChannel.receiveBroadcastStream().map((e) => e as String);
return _applePayStateUpdatesStream!;
}