addDocumentDeleted static method
Adds a CouchDB _deleted to the json body of a document
Implementation
static String addDocumentDeleted(
jsonobject.JsonObjectLite<dynamic> document) {
document.isImmutable = false;
document['_deleted'] = true;
return json.encode(document);
}