encoding property

String get encoding

The TextDecoder.encoding read-only property returns a string containing the name of the decoding algorithm used by the specific decoder object.

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

Implementation

external String get encoding;