PurchaseResult class
Result of a purchase operation.
Constructors
- PurchaseResult({required String status, Entitlement? entitlement})
- PurchaseResult.fromMap(Map map)
-
factory
Properties
- entitlement → Entitlement?
-
The entitlement granted by the purchase, if successful.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Status of the purchase: purchased, cancelled, pending, or unknown.
final
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