FirestoreServiceImpl class

Implementation of FirestoreReadService

This class provides the concrete implementation of the FirestoreReadService interface. It uses FirebaseFirestore to interact with Firestore and fetch document data.

Implemented types

Constructors

FirestoreServiceImpl()

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.
override
fetchDocumentById(String collection, String docId) Future<DocumentSnapshot<Object?>>
Fetches a document from Firestore by its ID.
override
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