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