Predicate class
A predicate is something that can be evaluated on a device at any point of time, to return true or false.
This is the conjunction (logical AND) of all the individual conditions defined here. An empty Predicate always evaluates to true.
Constructors
Properties
- dateLowerBound ↔ Date?
-
A lower bound on the current date, in the device time zone.
getter/setter pair
- dateUpperBound ↔ Date?
-
An upper bound on the current date, in the device time zone.
getter/setter pair
-
daysOfWeek
↔ List<
String> ? -
Evaluates to true if this list is empty or if the current day of the week
in the device's local time is in this list.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeOfDayLowerBound ↔ TimeOfDay?
-
A lower bound on the current time of the day, evaluated as hh:00:00 in the
device time zone.
getter/setter pair
- timeOfDayUpperBound ↔ TimeOfDay?
-
An upper bound on the current time of the day, evaluated as hh:00:00 in
the device time zone.
getter/setter pair
- updateAgeLowerBound ↔ String?
-
A lower bound on the amount of time for which the update (that is, the
specific build or version) has been available to the device.
getter/setter pair
- updateAgeUpperBound ↔ String?
-
An upper bound on the amount of time for which the update has been
available.
getter/setter pair
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