LicensingIssueResponse class
Constructors
-
LicensingIssueResponse({String? appId, int? exp, List<
String> features = const [], bool? fingerprintBound, String? holder, String? nonce, String? token}) - Returns a new LicensingIssueResponse instance.
Properties
- appId ↔ String?
-
AppID is the brand this token runs under ("hanzo" | "lux" | "zoo"). The engine refuses a token whose app_id is not the one it was built for.
getter/setter pair
- exp ↔ int?
-
Exp is the token's expiry, Unix seconds.
getter/setter pair
-
features
↔ List<
String> -
Features are the capability grants copied verbatim from the plan the org bought. The engine enforces exactly these.
getter/setter pair
- fingerprintBound ↔ bool?
-
Bound reports whether a device fingerprint was folded into the token. An unbound token runs on any machine; a bound one runs only on the machine it was bound to.
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 this token, and is what a per-token revocation names.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String?
-
Token is the signed license,
base64url(payload).base64url(ed25519_sig). It is the credential the engine runs on — treat it as a secret.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) → LicensingIssueResponse? -
Returns a new LicensingIssueResponse instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< LicensingIssueResponse> -
mapFromJson(
dynamic json) → Map< String, LicensingIssueResponse> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< LicensingIssueResponse> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.