queryCollection method
Implementation
Future<List<QueryDocumentSnapshot>> queryCollection(String collectionPath, String field, dynamic value) async {
QuerySnapshot querySnapshot =
await _db.collection(collectionPath).where(field, isEqualTo: value).get();
return querySnapshot.docs;
}