handleRestorePlanEvent method
Implementation
Stream<FastPlanBlocState> handleRestorePlanEvent(String productId) async* {
if (!_isRestoringPlan && !_isPurchasePending) {
debugLog('Restore plan: $productId');
_isRestoringPlan = true;
_pendingPlanRestoring = productId;
yield currentState.copyWith(isRestoringPlan: true);
_fastStoreBloc.addEvent(const FastStoreBlocEvent.restorePurchases());
}
}