PlaceOpeningHoursPeriod class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

PlaceOpeningHoursPeriod({required PlaceOpeningHoursPeriodDetail open, PlaceOpeningHoursPeriodDetail? close})
const
PlaceOpeningHoursPeriod.fromJson(Map<String, dynamic> json)
Converts a Map in the format provided by the JSON parser into an instance of the PlaceOpeningHoursPeriod class.
factory

Properties

close PlaceOpeningHoursPeriodDetail?
May contain a pair of day and time objects describing when the place closes. If a place is always open, the close section will be missing from the response. Clients can rely on always-open being represented as an open period containing day with value 0 and time with value 0000, and no close.
final
hashCode int
The hash code for this object.
no setteroverride
open PlaceOpeningHoursPeriodDetail
Contains a pair of day and time objects describing when the place opens.
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 an instance of the PlaceOpeningHoursPeriod class into a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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