BusinessOpeningHours class

Represents the opening hours of a business.

Constructors

BusinessOpeningHours({required String timeZoneName, required List<BusinessOpeningHoursInterval> openingHours})
Creates a BusinessOpeningHours object.
const
BusinessOpeningHours.fromJson(Map<String, dynamic> json)
Creates a BusinessOpeningHours object from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
openingHours List<BusinessOpeningHoursInterval>
Opening hours intervals for the business.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeZoneName String
Unique name of the time zone for which the opening hours are defined.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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