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
name ↔ String
The resource name of the document, for example projects/{project_id}/databases/{database_id}/documents/{document_path}.
read / write
updateTime ↔ String
Output only. The time at which the document was last changed. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited