PurchasesState class
- Annotations
-
- @freezed
Constructors
-
PurchasesState({required bool initializing, required LoadedData<
List< restorePurchases, required LoadedData<Transaction> >bool> isPurchasing, required LoadedData<CatalogProduct> storeCatalog, required LoadedData<bool> purchaseAvailable, required LoadedData<List< transactionsTriggered, required BuiltMap<Transaction> >Transaction, LoadedData< purchaseVerification})TransactionVerificationResult> > -
constfactory
- PurchasesState.initial()
-
factory
Properties
-
copyWith
→ $PurchasesStateCopyWith<
PurchasesState> -
Create a copy of PurchasesState
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPendingTransactions → bool
-
no setter
- initialized → bool
-
no setter
- initializing → bool
-
no setterinherited
- isBusy → bool
-
no setter
-
isPurchasing
→ LoadedData<
bool> -
no setterinherited
- isRestoringPurchases → bool
-
no setter
- isVerifyingTransactions → bool
-
no setter
-
purchaseAvailable
→ LoadedData<
bool> -
no setterinherited
-
purchaseVerification
→ BuiltMap<
Transaction, LoadedData< TransactionVerificationResult> > -
no setterinherited
-
purchasingOrVerifying
→ LoadedData<
bool> -
no setter
-
purchasingRestoringOrVerifying
→ LoadedData<
bool> -
no setter
-
restorePurchases
→ LoadedData<
List< Transaction> > -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storeCatalog
→ LoadedData<
CatalogProduct> -
no setterinherited
-
transactionsTriggered
→ LoadedData<
List< Transaction> > -
no setterinherited
- verificationFailures → FailuresGroup?
-
no setter
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