EngageCodes class

Promo / offline code redemption (engage.codes).

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
redeem(String code) → Future<Redemption>
Redeems code (3-30 characters after trimming; case-insensitive, spaces and dashes ignored server-side). Errors: code_not_found, code_expired, code_disabled, redemption_limit_reached, rate_limited, and for referral codes the referral errors of applyCode with ClikgateException.offlineTouchId set. Clears the read cache.
toString() → String
A string representation of this object.
inherited

Operators

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