FirestoreDocumentPath class

Inheritance
Available extensions

Constructors

FirestoreDocumentPath(String document, FirestoreCollectionPath collection)
const
FirestoreDocumentPath.fromPath(PathSegment pathSegment)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
parent → PathSegment?
finalinherited
path → String
Returns the full path string including all parent segments.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segment → String
Returns the current segment string.
no setterinherited

Methods

addField(FireValue value) → FirestoreDocument

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

addFields(List<FireValue> values) → FirestoreDocument

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

child(String childSegment) → PathSegment
Creates a child PathSegment with this segment as the parent.
inherited
col(String collection) → FirestoreCollectionPath

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sub(String collection, String docId) → FirestoreDocumentPath

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

toFirestoreCollection() → FirestoreCollectionPath

Available on PathSegment, provided by the PathSegmentFirestoreExtensions extension

toFirestoreDocument() → FirestoreDocumentPath

Available on PathSegment, provided by the PathSegmentFirestoreExtensions extension

toRealtimeNode() → RealtimeNodePath

Available on PathSegment, provided by the PathSegmentRealtimeExtensions extension

toString() → String
A string representation of this object.
inherited
withField(FireValue value) → FirestoreDocument

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

withFields(List<FireValue> values) → FirestoreDocument

Available on FirestoreDocumentPath, provided by the DocumentExtensions extension

Operators

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