TimeOfWeek class

Represents a a timestamp that's identified by the day of the week, and the time in 24 hour format.

Ref: https://developers.google.com/maps/documentation/places/android-sdk/reference/com/google/android/libraries/places/api/model/TimeOfWeek

Annotations
  • @freezed

Constructors

TimeOfWeek({required DayOfWeek day, required PlaceLocalTime time})
Constructs a TimeOfWeek object.
const
factory
TimeOfWeek.fromJson(Map<String, Object?> json)
Parse an TimeOfWeek from json.
factory

Properties

copyWith → $TimeOfWeekCopyWith<TimeOfWeek>
no setterinherited
day DayOfWeek
The day of the week.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time PlaceLocalTime
The time in 24 hour format, for example "1730", or "0000"
no setterinherited

Methods

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

Operators

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