Redemption class

Result of codes.redeem.

Annotations

Constructors

Redemption({required String offlineTouchId, required RedeemedCode code, Referral? referral})
const
Redemption.fromJson(Map<String, dynamic> j)
factory

Properties

code → RedeemedCode
final
hashCode → int
The hash code for this object.
no setterinherited
offlineTouchId → String
The recorded offline touch (oft_...).
final
referral → Referral?
For a referral code: the new referral (source == 'offline_code').
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
toString() → String
A string representation of this object.
inherited

Operators

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