Latin1Decoder const constructor

const Latin1Decoder({bool allowInvalid: false })

Instantiates a new Latin1Decoder.

The optional allowInvalid argument defines how convert deals with invalid bytes.

If it is true, convert replaces invalid bytes with the Unicode Replacement character U+FFFD (�). Otherwise it throws a FormatException.

Source

const Latin1Decoder({bool allowInvalid: false})
    : super(allowInvalid, _LATIN1_MASK);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/Latin1Decoder/Latin1Decoder.html