Latin1Codec constructor
- bool _allowInvalid = false,
Instantiates a new Latin1Codec.
If _allowInvalid is true, the decode method and the converter
returned by decoder will default to allowing invalid values. Invalid
values are decoded into the Unicode Replacement character (U+FFFD).
Calls to the decode method can override this default.
Encoders will not accept invalid (non Latin-1) characters.
Implementation
const Latin1Codec({this._allowInvalid = false});