fetchAllDocuments abstract method

Future<List<Map<String, dynamic>>> fetchAllDocuments(
  1. String collection
)

Fetches all documents from the specified Firestore collection.

collection: The name of the Firestore collection.

Returns a Future that resolves to a List of Maps, where each Map represents the data of a document in the collection.

Implementation

Future<List<Map<String, dynamic>>> fetchAllDocuments(String collection);