decode method
Implementation
@override
TypeParameter decode(Input input) {
final name = StrCodec.codec.decode(input);
final type = OptionCodec(TypeIdCodec.codec).decode(input);
return TypeParameter(
name: name,
type: type,
);
}
@override
TypeParameter decode(Input input) {
final name = StrCodec.codec.decode(input);
final type = OptionCodec(TypeIdCodec.codec).decode(input);
return TypeParameter(
name: name,
type: type,
);
}