Utf8Decoder constructor

const Utf8Decoder({
  1. bool _allowMalformed = false,
})

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.

Implementation

const Utf8Decoder({this._allowMalformed = false});