decode method
Implementation
@override
TypeParameter decode(Input input) {
// Decode parameter name
final name = StrCodec.codec.decode(input);
// Decode optional type ID
final type = OptionCodec(CompactCodec.codec).decode(input);
return TypeParameter(name: name, type: type);
}