StoreOpeningHours class

Describes the opening hours of a store. @memberOf woosmap.map.stores

Constructors

StoreOpeningHours({String? timezone, StoreOpeningHoursUsual? usual, Map<String, StoreOpeningHoursPeriod>? special})
StoreOpeningHours.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
special Map<String, StoreOpeningHoursPeriod>?
Defines the special opening hours of a store. The format for defining opening and closing hours for a particular day is the same as the usual. Instead of using numeric week day for keys you must use a date YYYY-MM-DD like "2015-03-08" example: `special:{"2015-03-08": {start:"14:00", end:"16:00"}}
getter/setter pair
timezone String?
Timezone for the Opening Hours of a store. It is used to compute the open_now property of an asset. see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
getter/setter pair
usual StoreOpeningHoursUsual?
Defines the usual opening hours of a store.
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