WiltUserUtils class
User utilities
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addDocumentDeleted(
JsonObjectLite document) → String - Adds a CouchDB _deleted to the json body of a document
-
addDocumentDeleteJo(
JsonObjectLite document) → JsonObjectLite - Adds a CouchDB _deleted to the json body of a document
-
addDocumentId(
JsonObjectLite document, String id) → String - Adds a CouchDB _id to the json body of a document
-
addDocumentIdJo(
JsonObjectLite document, String id) → JsonObjectLite - Adds a CouchDB _id to the json body of a document
-
addDocumentIdRevJojsonobject(
JsonObjectLite document, String id, String rev) → JsonObjectLite - Adds both a CouchDb _id and _rev to the json body of a document
-
addDocumentRev(
JsonObjectLite document, String? revision) → String - Adds a CouchDB _rev to the json body of a document
-
addDocumentRevJo(
JsonObjectLite document, String revision) → JsonObjectLite - Adds a CouchDB _rev to the json body of a document
-
createBulkInsertString(
List< String> docStrings) → String - Creates a json string for bulk inserts where an _id and or _rev is needed form document strings
-
createBulkInsertStringJo(
List< JsonObjectLite> records) → String - Creates a json string for bulk inserts where an _id and or _rev is needed from JsonObjects.
-
getAttachments(
JsonObjectLite? document) → List< JsonObjectLite> - Get a list of attachments from a document.
-
getCnSequenceNumber(
dynamic seq) → dynamic - Get a sequence number forom a change notification update, caters for string based or numerical sequence numbers
-
getDocumentId(
JsonObjectLite response) → String? - Get a document id from a json Object
-
getDocumentRev(
JsonObjectLite response) → String? - Get a revision from a json object
-
mapToJson(
dynamic map) → String? - Serialize a map to a JSON string