decoder property
Returns the decoder of this
, converting from List<int>
to String
.
It may be stateful and should not be reused.
Implementation
@override
Windows1251Decoder get decoder {
return allowInvalid
? const Windows1251Decoder(allowInvalid: true)
: const Windows1251Decoder(allowInvalid: false);
}