getCollection method
Implementation
Future<List<QueryDocumentSnapshot>> getCollection(String collectionPath) async {
QuerySnapshot querySnapshot = await _db.collection(collectionPath).get();
return querySnapshot.docs;
}
Future<List<QueryDocumentSnapshot>> getCollection(String collectionPath) async {
QuerySnapshot querySnapshot = await _db.collection(collectionPath).get();
return querySnapshot.docs;
}