base64encodedString method

String base64encodedString()

Returns a base64 encoded string with the base64: prefix.

Implementation

String base64encodedString() {
  var byteList = buffer.asUint8List(offsetInBytes, lengthInBytes);
  return 'decode(\'${base64Encode(byteList)}\', \'base64\')';
}