VerificationState enum
Normalized state of a purchase or subscription, across both stores.
Values
- purchased → const VerificationState
-
One-time purchase completed and not refunded/revoked.
- active → const VerificationState
-
Subscription active and renewing (or set to renew).
- canceled → const VerificationState
-
Subscription canceled by the user (auto-renew off) — may still be entitled until VerificationResult.expiresAt.
- gracePeriod → const VerificationState
-
Payment failed but the store still grants access (billing grace period).
- billingRetry → const VerificationState
-
Payment failed and the store is retrying — no access.
- onHold → const VerificationState
-
Subscription on hold after a failed payment (Google) — no access.
- paused → const VerificationState
-
Subscription paused by the user (Google) — no access.
- pending → const VerificationState
-
Payment not completed yet — no access until it is.
- expired → const VerificationState
-
Subscription expired.
- revoked → const VerificationState
-
Refunded or revoked by the store.
- notFound → const VerificationState
-
The store has no record of this token/transaction.
- unknown → const VerificationState
-
The store returned a state this package does not recognize.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
VerificationState> - A constant List of the values in this enum, in order of their declaration.