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