decoder property
override
Returns the decoder of this
, converting from T
to S
.
It may be stateful and should not be reused.
Implementation
AsciiDecoder get decoder => _allowInvalid
? const AsciiDecoder(allowInvalid: true)
: const AsciiDecoder(allowInvalid: false);