Eip712TypedData constructor
const
Eip712TypedData({
- required Map<
String, List< types,Eip712TypeDetails> > - required String primaryType,
- required Map<
String, dynamic> domain, - required Map<
String, dynamic> message, - EIP712Version version = EIP712Version.v4,
Constructor for Eip712TypedData.
Implementation
const Eip712TypedData({
required this.types,
required this.primaryType,
required this.domain,
required this.message,
this.version = EIP712Version.v4,
}) : assert(version != EIP712Version.v1, "use EIP712V1 class for EIP712 V1");