base64encodedString method
Returns a base64 encoded string with the base64:
prefix.
Implementation
String base64encodedString() {
var byteList = buffer.asUint8List(offsetInBytes, lengthInBytes);
return 'decode(\'${base64Encode(byteList)}\', \'base64\')';
}