handlePurchasePlanFailedEvent method
Implementation
Stream<FastPlanBlocState> handlePurchasePlanFailedEvent(
String productId,
dynamic error,
) async* {
if (_isPurchasePending) {
debugLog('Purchase plan failed: $productId - $error');
_isPurchasePending = false;
yield currentState.copyWith(isPlanPurchasePending: false, error: error);
}
}