Eip712TypedDataV1 constructor

Eip712TypedDataV1({
  1. required String type,
  2. required String name,
  3. required dynamic value,
})

Implementation

factory Eip712TypedDataV1(
    {required String type, required String name, required dynamic value}) {
  return Eip712TypedDataV1._(
      name: name,
      value: _EIP712Utils.ensureCorrectValues(type, value),
      type: type);
}