FFXPurchaseEvent class

One thing the app's paywall or shop saw, with no content, for FFXPurchases.recordEvents.

Constructors

FFXPurchaseEvent({required String id, required FFXPurchaseEventKind kind, required DateTime at, String? source, String? item, String? plan, int? amount})
const

Properties

amount → int?
final
at → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
A lowercase UUID the app makes once for the event.
final
item → String?
The product it was about: its name in the payments config, its plan (monthly, yearly, once), or a pack's amount of credits.
final
kind → FFXPurchaseEventKind
final
plan → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
The lock, banner or button that opened the paywall or the shop, as the app named it ("Book a visit lock"); at most 100 characters.
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.
inherited