encodePacked method
Legacy EIP-712 encoding for function signatures (bytes).
Optionally keeps the size unchanged based on the keepSize parameter.
Implementation
@override
EncoderResult encodePacked(AbiParameter params, List<int> input) {
return const BytesCoder().encodePacked(AbiParameter.function, input);
}