encodeHex method

  1. @override
String encodeHex({
  1. bool hash = true,
})
override

Encodes the data into a hex according to EIP-712. hashing encoded type bytes using QuickCrypto.keccack256Hash

Implementation

@override
String encodeHex({bool hash = true}) {
  return BytesUtils.toHexString(encode(hash: hash));
}