FilterOptionGroup class

Filter option for get asset.

筛选选项, 可以分别设置图片类型和视频类型对应的 FilterOption

See FilterOption.

Constructors

FilterOptionGroup({FilterOption imageOption = const FilterOption(), FilterOption videoOption = const FilterOption(), FilterOption audioOption = const FilterOption(), bool containsEmptyAlbum = false, bool containsPathModified = false, DateTimeCond? createTimeCond, DateTimeCond? updateTimeCond, List<OrderOption> orders = const [OrderOption()]})
FilterOptionGroup.empty()

Properties

containsEmptyAlbum bool
是否包含空相册
getter/setter pair
containsPathModified bool
If true, the AssetPathEntity will return with the last modified time.
getter/setter pair
createTimeCond DateTimeCond
getter/setter pair
dateTimeCond DateTimeCond
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
orders List<OrderOption>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTimeCond DateTimeCond
getter/setter pair

Methods

addOrderOption(OrderOption option) → void
copyWith({FilterOption? imageOption, FilterOption? videoOption, FilterOption? audioOption, DateTimeCond? createTimeCond, DateTimeCond? updateTimeCond, bool? containsEmptyAlbum, bool? containsPathModified, List<OrderOption>? orders}) FilterOptionGroup
getOption(AssetType type) FilterOption
merge(FilterOptionGroup other) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOption(AssetType type, FilterOption option) → void
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited