DateFilter class

This filter defines the allowed dates or date ranges for the media returned.

It's possible to pick a set of specific dates and a set of date ranges. Media items uploaded without metadata specifying the date the media item was captured will not be returned in queries using date filters. Google Photos server upload time is not used as a fallback in this case.

Constructors

DateFilter({List<Date>? dates, List<DateRange>? ranges})
DateFilter.fromJson(Map json_)

Properties

dates List<Date>?
List of dates that match the media items' creation date.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ranges List<DateRange>?
List of dates ranges that match the media items' creation date.
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