FastPlanBlocEvent class
- Inheritance
-
- Object
- BlocEvent<
FastPlanBlocEventType, FastPlanBlocEventPayload> - FastPlanBlocEvent
Constructors
- FastPlanBlocEvent.new({required FastPlanBlocEventType? type, FastPlanBlocEventPayload? payload})
-
const
- FastPlanBlocEvent.planPurchased(String productId)
- FastPlanBlocEvent.planRestored(String productId)
- FastPlanBlocEvent.purchasePlan(String productId)
- FastPlanBlocEvent.purchasePlanCanceled(String productId)
- FastPlanBlocEvent.purchasePlanFailed(String productId, dynamic error)
- FastPlanBlocEvent.resetError()
-
const
- FastPlanBlocEvent.restorePlan(String productId)
- FastPlanBlocEvent.restorePlanFailed(String productId, dynamic error)
Properties
- error → Object?
-
The error of the event.
finalinherited
- forceBuild → bool
-
Indicates whether the bloc builder can force rendering.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload → FastPlanBlocEventPayload?
-
The payload of the event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FastPlanBlocEventType?
-
The type of the event.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited