FirestoreReadService class abstract
Services for Firestore Read Operations
This abstract class defines the interface for reading data from Firestore. It includes methods for fetching a document by its ID and fetching all documents from a specified collection.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchAllDocuments(
String collection) → Future< List< Map< >String, dynamic> > - Fetches all documents from the specified Firestore collection.
-
fetchDocumentById(
String collection, String docId) → Future< DocumentSnapshot< Object?> > - Fetches a document from Firestore by its ID.
-
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