encoding property

CharEncoding get encoding

Character encoding of the String and Unicode sorts.

Defaults to CharEncoding.unicode.

Implementation

CharEncoding get encoding =>
    CharEncoding.values.firstWhere((e) => e.name == this['encoding'],
        orElse: () => CharEncoding.unicode);
set encoding (CharEncoding value)

Implementation

set encoding(CharEncoding value) => this['encoding'] = value.name;