legacyEip712Encode method
Legacy EIP-712 encoding for string values.
Optionally keeps the size unchanged based on the keepSize
parameter.
Implementation
@override
EncoderResult legacyEip712Encode(
AbiParameter params, String input, bool keepSize) {
return const BytesCoder().legacyEip712Encode(
AbiParameter.bytes, StringUtils.encode(input), keepSize);
}