RedeemedCode class

The code a Redemption matched.

Annotations

Constructors

RedeemedCode({required String code, required String kind, String? linkId, String? campaignId, String? referrerId, String? programId})
const
RedeemedCode.fromJson(Map<String, dynamic> j)
factory

Properties

campaignId → String?
final
code → String
The normalised code.
final
hashCode → int
The hash code for this object.
no setterinherited
isReferral → bool
no setter
kind → String
link (promo / campaign code) or referral (a referrer's code).
final
linkId → String?
final
programId → String?
final
referrerId → String?
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