convert method

String convert (List<int> input)

Converts input and returns the result of the conversion.

Implementation

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);
}