SpecialHours class
Out of the ordinary hours for a business that apply on certain dates.
Constructors
- SpecialHours({String? date, bool? isClosed, String? start, String? end, bool? isOvernight})
- SpecialHours.fromJson(String source)
-
factory
-
SpecialHours.fromMap(Map<
String, dynamic> ? map) -
factory
Properties
- date → String?
-
An ISO8601 date string representing the date for which these special hours apply.
final
- end → String?
-
End of the opening hours in a day, in 24-hour clock notation ie. 2130 == 9:30 PM.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isClosed → bool?
-
Whether this particular special hour represents a date where a business is closed.
final
- isOvernight → bool?
-
Whether the special hours time range spans past midnight or not. Note: When this is true, the end time will be lower than the start time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → String?
-
Start of the opening hours in a day, in 24-hour clock notation ie. 1000 == 10:00 AM.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override