Converter<List<int>, String> decoder

Source

Converter<List<int>, String> get decoder {
  if (Platform.operatingSystem == "windows") {
    return const _WindowsCodePageDecoder();
  } else {
    return const Utf8Decoder();
  }
}