ValidatorClaim class
Constructors
- ValidatorClaim({String? nonce, String? signature, int? tokenId})
- Returns a new ValidatorClaim instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- nonce ↔ String?
-
Nonce is the value GET /v1/validator/challenge issued for this slot.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ String?
-
Signature is the wallet's personal_sign over the challenge message, hex with a 0x prefix.
getter/setter pair
- tokenId ↔ int?
-
TokenID is the Validator-tier GenesisNFT token id being claimed. It IS the validator slot.
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) → ValidatorClaim? -
Returns a new ValidatorClaim instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ValidatorClaim> -
mapFromJson(
dynamic json) → Map< String, ValidatorClaim> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ValidatorClaim> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.