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