Document class

A Firestore document.

Must not exceed 1 MiB - 4 bytes.

Constructors

Document({String? createTime, Map<String, Value>? fields, String? name, String? updateTime})
Document.fromJson(Map json_)

Properties

createTime String?
The time at which the document was created.
getter/setter pair
fields Map<String, Value>?
The document's fields.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the document, for example projects/{project_id}/databases/{database_id}/documents/{document_path}.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime String?
The time at which the document was last changed.
getter/setter pair

Methods

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

Operators

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