InAppPurchase2API class

Constructors

InAppPurchase2API({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for InAppPurchase2API. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger BinaryMessenger?
final
pigeonVar_messageChannelSuffix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canMakePayments() Future<bool>
finish(int id) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
products(List<String> identifiers) Future<List<SK2ProductMessage>>
purchase(String id, {SK2ProductPurchaseOptionsMessage? options}) Future<SK2ProductPurchaseResultMessage>
restorePurchases() Future<void>
startListeningToTransactions() Future<void>
stopListeningToTransactions() Future<void>
toString() String
A string representation of this object.
inherited
transactions() Future<List<SK2TransactionMessage>>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

pigeonChannelCodec → const MessageCodec<Object?>