encoding property

String get encoding

The encoding read-only property of the TextDecoderStream interface returns a string containing the name of the encoding algorithm used by the specific decoder.

The encoding is set by the constructor label parameter, and defaults to utf-8.

Implementation

external String get encoding;