OpeningHours class

Constructors

OpeningHours({bool? openNow, List<String>? weekdayText, List<Period>? periods})
OpeningHours.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
openNow bool?
openNow is a boolean value indicating if the place is open at the current time.
final
periods List<Period>?
periods is an array of opening periods covering seven days, starting from Sunday, in chronological order.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weekdayText List<String>?
weekdayText is an array of seven strings representing the formatted opening hours for each day of the week. If a language parameter was specified in the Place Details request, the Places Service will format and localize the opening hours appropriately for that language. The ordering of the elements in this array depends on the language parameter. ∂Some languages start the week on Monday while others start on Sunday.
final

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.
inherited