RequestPurchasePropsByPlatforms class
Platform-specific purchase request parameters.
Note: "Platforms" refers to the SDK/OS level (apple, google), not the store.
- apple: Always targets App Store
- google: Targets Play Store by default, or Horizon when built with horizon flavor (determined at build time, not runtime)
Constructors
- RequestPurchasePropsByPlatforms({RequestPurchaseAndroidProps? android, RequestPurchaseIosProps? apple, RequestPurchaseAndroidProps? google, RequestPurchaseIosProps? ios})
-
const
-
RequestPurchasePropsByPlatforms.fromJson(Map<
String, dynamic> json) -
factory
Properties
- android → RequestPurchaseAndroidProps?
-
@deprecated Use google instead
final
- apple → RequestPurchaseIosProps?
-
Apple-specific purchase parameters
final
- google → RequestPurchaseAndroidProps?
-
Google-specific purchase parameters
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ios → RequestPurchaseIosProps?
-
@deprecated Use apple instead
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited