TypedDataUtil class
Utils for typed data.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encodeData(
String primaryType, dynamic data, Map< String, List< types, String version) → Uint8ListTypedDataField> > -
encodeType(
String primaryType, Map< String, List< types) → StringTypedDataField> > -
findTypeDependencies(
String primaryType, Map< String, List< types, {Set<TypedDataField> >String> ? results}) → Set<String> - Finds all types within a type defintion object
-
hashMessage(
{required String jsonData, required TypedDataVersion version, int? chainId}) → Uint8List -
hashStruct(
String primaryType, dynamic data, Map< String, List< types, String version) → Uint8ListTypedDataField> > -
hashType(
String primaryType, dynamic types) → Uint8List - Hashes the type of an object
-
hashTypedData(
TypedMessage typedData, String version) → Uint8List -
hashTypedDataV1(
List< EIP712TypedData> typedData) → Uint8List -
hashTypedDataV3(
TypedMessage typedData) → Uint8List -
hashTypedDataV4(
TypedMessage typedData) → Uint8List -
typedSignatureHash(
List< EIP712TypedData> typedData) → Uint8List