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