OpeningHours constructor
- List<
String> text, - bool isOpen,
- List<
ScheduleDetails> scheduleDetailsList, - List<
PlaceCategory> categories,
Creates a new instance.
textThe list of opening hours presented as localized text.isOpenBoolean 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.scheduleDetailsListThe list of schedule details.categoriesThe list of categories related to opening hours information. This data is not available in offline search.
Implementation
OpeningHours(this.text, this.isOpen, this.scheduleDetailsList, this.categories);