Utf8Decoder const constructor
const Utf8Decoder(Instantiates a new Utf8Decoder.
The optional allowMalformed
argument defines how convert deals with invalid or unterminated character sequences.
If it is true
convert replaces invalid (or unterminated) character sequences with the Unicode Replacement character U+FFFD
(�). Otherwise it throws a FormatException.
Source
const Utf8Decoder({bool allowMalformed: false}) : this._allowMalformed = allowMalformed;
© 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/Utf8Decoder/Utf8Decoder.html