encoder property
Returns the encoder from String
to List<int>
.
It may be stateful and should not be reused.
Implementation
@override
Windows1251Encoder get encoder => allowInvalid
? const Windows1251Encoder(allowInvalid: true)
: const Windows1251Encoder(allowInvalid: false);