getBasedOnDocID method

Future getBasedOnDocID(
  1. String collectionPath,
  2. String docID
)

get based on document ID.....

Implementation

Future getBasedOnDocID(
    String collectionPath,
    String docID) async {
  Constants.fireStoreInstance
      .collection(collectionPath)
      .doc(docID)
      .snapshots();
}