getCollectionLevel method

Future getCollectionLevel(
  1. String collectionPath
)

there are two type of fetch....and we are using futures... collection level....

Implementation

///collection level....
Future getCollectionLevel(String collectionPath) async {
  Constants.fireStoreInstance.collection(collectionPath).snapshots();
}