Firestore class
Constructors
- Firestore(FirebaseAdminApp app, {Settings? settings})
Properties
- app → FirebaseAdminApp
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collection(
String collectionPath) → CollectionReference< DocumentData> - Gets a CollectionReference instance that refers to the collection at the specified path.
-
collectionGroup(
String collectionId) → CollectionGroup< DocumentData> - Creates and returns a new Query that includes all documents in the database that are contained in a collection or subcollection with the given collectionId.
-
doc(
String documentPath) → DocumentReference< DocumentData> - Gets a DocumentReference instance that refers to the document at the specified path.
-
getAll<
T> (List< DocumentReference< documents, [ReadOptions? readOptions]) → Future<T> >List< DocumentSnapshot< >T> > -
listCollections(
) → Future< List< CollectionReference< >DocumentData> > - Fetches the root collections that are associated with this Firestore database.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited