OpeningHours class

Represents opening hours information.

Constructors

OpeningHours(List<String> text, bool isOpen, List<ScheduleDetails> scheduleDetailsList, List<PlaceCategory> categories)
Creates a new instance.

Properties

categories ↔ List<PlaceCategory>
The list of categories related to opening hours information. This data is not available in offline search.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
isOpen ↔ bool
Boolean flag informing if the place is open or closed at the time when the search request was initiated. For offline search, this is calculated using device's time, so it may give incorrect value if device and place are located in different time zones.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduleDetailsList ↔ List<ScheduleDetails>
The list of schedule details.
getter/setter pair
text ↔ List<String>
The list of opening hours presented as localized text.
getter/setter pair

Methods

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

Operators

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