W3cubDocs

/Dart 2

encoding property

Encoding encoding
inherited

The Encoding used when writing strings. Depending on the underlying consumer this property might be mutable.

Implementation

Encoding get encoding => _sink.encoding;
void encoding= (Encoding encoding)
inherited

The Encoding used when writing strings. Depending on the underlying consumer this property might be mutable.

Implementation

void set encoding(Encoding encoding) {
  _sink.encoding = encoding;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/Stdout/encoding.html