MongoCollection constructor

MongoCollection({
  1. required String collectionName,
  2. required String databaseName,
})

Implementation

MongoCollection({required this.collectionName, required this.databaseName}) {
//    if(kIsWeb){
//      FlutterMongoRealm.setupWatchCollection(collectionName, databaseName);//, filter: BsonDocument(fixFilter).toJson());
//    }
}