UserOfferActionType enum

The action the offer instructs the SDK to take for the user.

Mirrors UserOffer.ActionType on Android.

Inheritance
Available extensions

Values

noAction → const UserOfferActionType

No action — the user is ineligible or no offer is configured.

migrateStorekitToWeb → const UserOfferActionType

Migrate an active StoreKit subscription to web (Stripe) billing.

migratePlayToWeb → const UserOfferActionType

Migrate an active Google Play subscription to web (Stripe) billing.

upgradeStorekitToWeb → const UserOfferActionType

Upgrade the user's StoreKit subscription to a higher-tier web plan.

upgradeWebToWeb → const UserOfferActionType

Switch the user from one web subscription to another (web→web upgrade).

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

Static Methods

fromWire(String? s) UserOfferActionType
Decode a camelCase wire string. Returns noAction on null or unknown values so callers never need to handle null from the server.

Constants

values → const List<UserOfferActionType>
A constant List of the values in this enum, in order of their declaration.