Filters class Null safety

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.
read / write
dateFilter DateFilter?
Filters the media items based on their creation date.
read / write
excludeNonAppCreatedData bool?
If set, the results exclude media items that were not created by this app.
read / write
featureFilter FeatureFilter?
Filters the media items based on their features.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
includeArchivedMedia bool?
If set, the results include media items that the user has archived.
read / write
mediaTypeFilter MediaTypeFilter?
Filters the media items based on the type of media.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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