ProductDetailsWrapper class

Dart wrapper around com.android.billingclient.api.ProductDetails.

Contains the details of an available product in Google Play Billing. Represents the details of a one-time or subscription product.

Annotations

Constructors

ProductDetailsWrapper({required String description, required String name, OneTimePurchaseOfferDetailsWrapper? oneTimePurchaseOfferDetails, List<OneTimePurchaseOfferDetailsWrapper>? oneTimePurchaseOfferDetailsList, required String productId, required ProductType productType, List<SubscriptionOfferDetailsWrapper>? subscriptionOfferDetails, required String title})
Creates a ProductDetailsWrapper with the given purchase details.
const

Properties

description → String
Textual description of the product.
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
The name of the product being sold.
final
oneTimePurchaseOfferDetails → OneTimePurchaseOfferDetailsWrapper?
The offer details of a one-time purchase product.
final
oneTimePurchaseOfferDetailsList → List<OneTimePurchaseOfferDetailsWrapper>?
The list of offer details for a one-time purchase product.
final
productId → String
The product's id.
final
productType → ProductType
The ProductType of the product.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionOfferDetails → List<SubscriptionOfferDetailsWrapper>?
A list containing all available offers to purchase a subscription product.
final
title → String
The title of the product being sold.
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.
override