decode method
Implementation
@override
PortableType decode(Input input) {
// Decode type ID (compact encoded)
final id = CompactCodec.codec.decode(input);
// Decode type definition
final type = PortableTypeDef.codec.decode(input);
return PortableType(id: id, type: type);
}