Open class

The detailed opening hours of a given day in a week.

Constructors

Open({int? day, String? start, String? end, bool? isOvernight})
Open.fromJson(String source)
factory
Open.fromMap(Map<String, dynamic>? map)
factory

Properties

day int?
From 0 to 6, representing day of the week from Monday to Sunday.
final
end String?
End of the opening hours in a day, in 24-hour clock notation
final
hashCode int
The hash code for this object.
no setteroverride
isOvernight bool?
Whether the business opens overnight or not.
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
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