encodeTo method

  1. @override
void encodeTo(
  1. TypeParameter value,
  2. Output output
)
override

Convert self to a slice and append it to the destination.

Implementation

@override
void encodeTo(TypeParameter value, Output output) {
  StrCodec.codec.encodeTo(value.name, output);
  OptionCodec(TypeIdCodec.codec).encodeTo(value.type, output);
}