Hashes the type of an object
static Uint8List hashType(String primaryType, dynamic types) { return keccak256( Uint8List.fromList(utf8.encode(encodeType(primaryType, types)))); }