LicensingVerifyResponse class

Constructors

LicensingVerifyResponse({String? appId, int? exp, List<String> features = const [], bool? fingerprintBound, String? holder, String? nonce, String? reason, bool? revoked, bool? valid})
Returns a new LicensingVerifyResponse instance.

Properties

appId ↔ String?
AppID is the brand the token runs under.
getter/setter pair
exp ↔ int?
Exp is the token's expiry, Unix seconds.
getter/setter pair
features ↔ List<String>
Features are the capability grants the token carries.
getter/setter pair
fingerprintBound ↔ bool?
Bound reports that the token carries a device binding.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
holder ↔ String?
Holder is who the token was issued to.
getter/setter pair
nonce ↔ String?
Nonce uniquely identifies the token.
getter/setter pair
reason ↔ String?
Reason says why an invalid token was rejected. Empty when Valid.
getter/setter pair
revoked ↔ bool?
Revoked reports that the signature was good but the token has been revoked.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valid ↔ bool?
Valid is the single answer: signature, schema, expiry, app and revocation all passed.
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.
override

Operators

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

Static Methods

fromJson(dynamic value) → LicensingVerifyResponse?
Returns a new LicensingVerifyResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LicensingVerifyResponse>
mapFromJson(dynamic json) → Map<String, LicensingVerifyResponse>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LicensingVerifyResponse>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.