SpecialDay class
Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places#specialday
- Inheritance
-
- Object
- Jsonable<
SpecialDay> - SpecialDay
- Available extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- SpecialDay.new({Date? date})
-
SpecialDay.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$SpecialDayCWProxy
-
Available on SpecialDay, provided by the $SpecialDayCopyWith extension
Returns a callable class that can be used as follows:instanceOfSpecialDay.copyWith(...)
.no setter - date → Date?
-
The date of this special day.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJsonList(
List? jsonList) → List< SpecialDay> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → SpecialDay? -
override
-
fromJsonString(
String? json) → SpecialDay? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< SpecialDay> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFieldsMask(
{String? parentKey}) → List< String> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited