TimePeriod class

Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time.

The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.

Constructors

TimePeriod({String? closeDay, TimeOfDay? closeTime, String? openDay, TimeOfDay? openTime})
TimePeriod.fromJson(Map json_)

Properties

closeDay String?
Indicates the day of the week this period ends on.
getter/setter pair
closeTime TimeOfDay?
Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
openDay String?
Indicates the day of the week this period starts on.
getter/setter pair
openTime TimeOfDay?
Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.
getter/setter pair
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>
toString() String
A string representation of this object.
inherited

Operators

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