Filters class

Filters that can be applied to a media item search.

If multiple filter options are specified, they're treated as AND with each other.

Constructors

Filters({ContentFilter? contentFilter, DateFilter? dateFilter, bool? excludeNonAppCreatedData, FeatureFilter? featureFilter, bool? includeArchivedMedia, MediaTypeFilter? mediaTypeFilter})
Filters.fromJson(Map json_)

Properties

contentFilter ContentFilter?
Filters the media items based on their content.
getter/setter pair
dateFilter DateFilter?
Filters the media items based on their creation date.
getter/setter pair
excludeNonAppCreatedData bool?
If set, the results exclude media items that were not created by this app.
getter/setter pair
featureFilter FeatureFilter?
Filters the media items based on their features.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeArchivedMedia bool?
If set, the results include media items that the user has archived.
getter/setter pair
mediaTypeFilter MediaTypeFilter?
Filters the media items based on the type of media.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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