InAppPurchasePlatformAddition class abstract
The interface that platform implementations must implement when they want to provide platform-specific in_app_purchase features.
Platforms that wants to introduce platform-specific public APIs should create a class that either extend or implements InAppPurchasePlatformAddition. Then set the InAppPurchasePlatformAddition.instance to an instance of that class.
All the APIs added by InAppPurchasePlatformAddition implementations will be accessed from InAppPurchasePlatformAdditionProvider.getPlatformAddition by the client APPs. To avoid clients directly calling InAppPurchasePlatform APIs, an InAppPurchasePlatformAddition implementation should not be a type of InAppPurchasePlatform.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 Properties
- instance ↔ InAppPurchasePlatformAddition?
-
The instance containing the platform-specific in_app_purchase
functionality.
getter/setter pair