SearchAvailability class abstract final

A single value of availability information.

Allows to describe business schedule for a group of days. For example, an organization open on weekdays from 9 AM to 6 PM with a lunch break from 1 PM to 2 PM can be described as a single Availability with days equal to DayGroup::Weekdays and two time ranges (9:00-13:00, 14:00-18:00). More complicated schedules will require multiple Availabilities.

Implemented types

Constructors

SearchAvailability(SearchDayGroup days, List<SearchTimeRange> timeRanges)
factory

Properties

days SearchDayGroup
Days where time ranges are applicable
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeRanges List<SearchTimeRange>
Ranges for open hours
no setter

Methods

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

Operators

operator ==(covariant SearchAvailability other) bool
The equality operator.
override