convert method

String convert(List<int> input)

Converts input and returns the result of the conversion.

Source

String convert(List<int> input) {
  if (input.isEmpty) return "";
  var encoder = new _Base64Encoder(_urlSafe);
  Uint8List buffer = encoder.encode(input, 0, input.length, true);
  return new String.fromCharCodes(buffer);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/Base64Encoder/convert.html