BusinessOpeningHoursInterval class

Represents an interval of opening hours for a business.

Constructors

BusinessOpeningHoursInterval({required int openingMinute, required int closingMinute})
Creates a BusinessOpeningHoursInterval object.
const
BusinessOpeningHoursInterval.fromJson(Map<String, dynamic> json)
Creates a BusinessOpeningHoursInterval object from a JSON map.
factory

Properties

closingMinute int
The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 24 60
final
hashCode int
The hash code for this object.
no setterinherited
openingMinute int
The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 24 60
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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