FirestoreReadRepository mixin

Properties

collection String
The name of the Firestore collection. This should be overridden by classes that implement this mixin.
no setter
firestoreReadService FirestoreReadService
no setter
hashCode int
The hash code for this object.
no setterinherited
loggerService LoggerService?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchAllDocuments() Future<List<Map<String, dynamic>>>
Fetches all documents from the Firestore collection.
fetchDocumentById({required String docId}) Future<Map<String, dynamic>?>
Fetches a document from Firestore by its ID.
fetchPaginatedDocuments({int limit = 10, DocumentSnapshot<Object?>? lastDocument, String orderByField = 'createdAt'}) Future<PaginationResult>
Fetches paginated documents from the Firestore collection.
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