factory EIP712Legacy.fromJson(List<Map<String, dynamic>> messages) { return EIP712Legacy( messages.map((e) => Eip712TypedDataV1.fromJson(e)).toList()); }