Signature class
Constructors
Properties
- address ↔ String?
-
Address is the wallet's on-chain address, the one this signature recovers to.
getter/setter pair
- digest ↔ String?
-
Digest is the 32-byte digest that was signed, hex with an 0x prefix.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ String?
-
Signature is the 65-byte secp256k1 signature, hex with an 0x prefix.
getter/setter pair
- walletId ↔ String?
-
WalletID is the wallet that signed.
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) → Signature? -
Returns a new Signature instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< Signature> -
mapFromJson(
dynamic json) → Map< String, Signature> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< Signature> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.