getBasedOnEqualsTo method

Future getBasedOnEqualsTo(
  1. String collectionPath,
  2. String field,
  3. String value,
  4. String docID,
)

getBasedOnEqualsTo....

Implementation

Future getBasedOnEqualsTo(
    String collectionPath,
    String field,
    String value,
    String docID) async {
  Constants.fireStoreInstance
      .collection(collectionPath)
      .where(field,isEqualTo: value)
      .snapshots();
}