merge method
Merges another FilterOptionGroup into this one.
Parameters:
other
: The FilterOptionGroup to merge into this one.
Implementation
void merge(FilterOptionGroup other) {
for (final AssetType type in _map.keys) {
_map[type] = _map[type]!.merge(other.getOption(type));
}
containsPathModified = other.containsPathModified;
containsLivePhotos = other.containsLivePhotos;
onlyLivePhotos = other.onlyLivePhotos;
createTimeCond = other.createTimeCond;
updateTimeCond = other.updateTimeCond;
orders
..clear()
..addAll(other.orders);
}