FieldPath class

A FieldPath refers to a field in a document.

Usage of a FieldPath allows querying of Firestore paths whose document ID contains a '.'.

Constructors

FieldPath(List<String> components)
Creates a new FieldPath.
FieldPath.fromString(String path)
Creates a new FieldPath from a string path. [...]

Properties

components List<String>
The List of components which make up this FieldPath.
final
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic o) bool
The equality operator. [...]
override

Static Properties

documentId → FieldPathType
Returns a special sentinel FieldPath to refer to the ID of a document. [...]
read-only