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