DVEntitlementSnapshot class
An entitlement as a device holds it: what, and until when.
Constructors
- DVEntitlementSnapshot({required String entitlement, required DateTime notAfter})
-
const
Properties
- entitlement → String
-
The entitlement's id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- notAfter → DateTime
-
The moment access stops without a fresh sync. Always present: a snapshot
with no end is a refunded subscription that keeps working on a device
that never reconnects.
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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited