hashStruct static method

Uint8List hashStruct(
  1. TypedData typedData,
  2. String primaryType,
  3. dynamic data
)

Implementation

static Uint8List hashStruct(
    TypedData typedData, String primaryType, dynamic data) {
  return keccak256(encodeData(typedData, primaryType, data));
}