childMap method
The child map of the filter.
The subclass should override this method to make params.
Implementation
@override
Map<String, dynamic> childMap() {
return <String, dynamic>{
if (_map.containsKey(AssetType.image))
'image': getOption(AssetType.image).toMap(),
if (_map.containsKey(AssetType.video))
'video': getOption(AssetType.video).toMap(),
if (_map.containsKey(AssetType.audio))
'audio': getOption(AssetType.audio).toMap(),
'createDate': createTimeCond.toMap(),
'updateDate': updateTimeCond.toMap(),
'orders': orders.map((OrderOption e) => e.toMap()).toList(),
'containsLivePhotos': containsLivePhotos,
'onlyLivePhotos': onlyLivePhotos,
};
}