HeaderCodec constructor
const
HeaderCodec({
- required FullType specifiedType,
- bool explode = false,
Creates a HeaderCodec
for the given specifiedType
and encoding format (explode
).
The specifiedType
is needed to revive the value when in the decoder.
Implementation
const HeaderCodec({
required this.specifiedType,
this.explode = false,
});