CheckPurchaseBodyPretend class final

A purchase on drip’s pretend store, in the preview. Only the preview’s own backend records it, as a test purchase; the platform refuses it.

Inheritance

Constructors

CheckPurchaseBodyPretend({required String item, PurchasePlan? plan, int? amount})
const
CheckPurchaseBodyPretend.fromJson(Map<String, Object?> json)
factory

Properties

amount → int?
For a pack of credits: the credits in it, which name the pack.
final
hashCode → int
The hash code for this object.
no setterinherited
item → String
What the pretend store sold, by its name in the payments config: the upgrade’s claim, the unlock, or the credits.
final
plan → PurchasePlan?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

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