UserChoiceDetailsProductWrapper class
Data structure representing a UserChoiceDetails product.
This wraps com.android.billingclient.api.UserChoiceDetails.Product
- Annotations
Constructors
- UserChoiceDetailsProductWrapper.new({required String id, required String offerToken, required ProductType productType})
-
Creates a UserChoiceDetailsProductWrapper with the given record details.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Returns the id of the product being purchased.
final
- offerToken → String
-
Returns the offer token that was passed in launchBillingFlow to purchase the product.
final
- productType → ProductType
-
Returns the ProductType of the product being purchased.
final
- 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.
override