purchaseInProgressStream property
This Stream returns true => if the purchase is currently in Progress. This means you should show a loading indicator or block the purchase button while processing
returns false => if there is no purchase in Progress.
Example riverpod notifier:
class PremiumPurchaseInProgressNotifier extends Notifier
@override bool build() { return false; } }
Implementation
static Stream<bool> get purchaseInProgressStream => LinkFivePurchasesImpl().purchaseInProgressStream();