Entitlement class

A single entitlement for a publication reader

Constructors

Entitlement({String? detail, String? expireTime, String? productId, String? subscriptionToken})
Entitlement.fromJson(Map json_)

Properties

detail String?
The detail field can carry a description of the SKU that corresponds to what the user has been granted access to.
getter/setter pair
expireTime String?
Expiration time of the entitlement.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
productId String?
The publication's product ID that the user has access to.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionToken String?
A source-specific subscription token.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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