TypedDataDomain class

Typed data domain to use for ethers signing.

Constructors

TypedDataDomain({String? name, String? version, String? chainId, String? verifyingContract, Uint8List? salt})
const

Properties

chainId String?
Chain ID of the signing domain.
final
hashCode int
The hash code for this object.
read-onlyinherited
name String?
Human-readable name of the signing domain.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
salt Uint8List?
Salt used for purposes decided by the specific domain.
final
verifyingContract String?
Address of the contract that will verify the signature.
final
version String?
Major version of the signing domain.
final

Methods

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

Operators

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