Map<String, dynamic> toMap() { return <String, dynamic>{ 'collectionName': ?collectionName, 'collectionParameters': ?collectionParameters, }; }