pendingCheckoutUpdates property

  1. @override
Stream<bool> get pendingCheckoutUpdates
override

Stream of the "is a web checkout in-flight?" flag. Mirrors the SDK's pendingCheckout state observable on both platforms.

Implementation

@override
Stream<bool> get pendingCheckoutUpdates {
  _pendingCheckoutUpdatesStream ??= pendingCheckoutEventChannel
      .receiveBroadcastStream()
      .map((event) => event as bool);
  return _pendingCheckoutUpdatesStream!;
}