Document class

A Firestore document.

Must not exceed 1 MiB - 4 bytes.

Constructors

Document()
Document.fromJson(Map _json)

Properties

createTime String
Output only. The time at which the document was created. [...]
read / write
fields Map<String, Value>
The document's fields. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
The resource name of the document, for example projects/{project_id}/databases/{database_id}/documents/{document_path}.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updateTime String
Output only. The time at which the document was last changed. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited