structHash static method
Calculates the Keccak256 hash of the encoded struct data for a given type. Uses the encodeStruct method to encode the struct data before hashing.
Implementation
static List<int> structHash(
Eip712TypedData typedData, String type, Map<String, dynamic> data) {
return QuickCrypto.keccack256Hash(encodeStruct(typedData, type, data));
}