MPDailyOpeningHours class

Represents the opening hours for a single day, including whether the location is closed all day or has specific opening and closing times.

Inheritance

Constructors

MPDailyOpeningHours({bool? closedAllDay, String? startTime, String? endTime})

Properties

closedAllDay bool?
Indicates whether the location is closed for the entire day.
final
endTime String?
The closing time for the day, represented as an ISO 8601 string.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime String?
The opening time for the day, represented as an ISO 8601 string.
final

Methods

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

Operators

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

Static Methods

fromJson(dynamic json) MPDailyOpeningHours?