FirestoreCollectionPath class

Inheritance
Available extensions

Constructors

FirestoreCollectionPath.new(String collection, {PathSegment? parent})
const
FirestoreCollectionPath.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

child(String childSegment) PathSegment
Creates a child PathSegment with this segment as the parent.
inherited
doc(String documentId) FirestoreDocumentPath

Available on FirestoreCollectionPath, provided by the CollectionPathExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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

Operators

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