export method

String export({
  1. bool base64 = true,
})

All notes as a compact string (base64 by default).

Implementation

String export({bool base64 = true}) {
  final String json = jsonEncode(toJson());
  return base64 ? json.toBase64() : json;
}