Entitlement class
A single granted (or expired) entitlement.
Mirrors RvEntitlement / Entitlement.
- Annotations
Constructors
Properties
- active → bool
-
final
- expiresAt → String?
-
ISO-8601 expiry timestamp, if the entitlement has one (absent for
non-expiring/lifetime grants).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- isTemporary → bool
-
Granted on this device for a purchase the store charged but Rovenue
could not verify yet (offline, timeout, server error). Lasts until the
purchase is verified (the server's answer then replaces it), refused,
the user logs out or identifies as someone else, or 24 hours pass.
falsefor everything the server reported.final - productId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? id, bool? active, String? expiresAt, String? productId, bool? isTemporary}) → Entitlement -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override