TimezoneResponse class
- Inheritance
-
- Object
- GoogleResponseStatus
- TimezoneResponse
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.none)
Constructors
- TimezoneResponse({ResponseStatus? status, String? errorMessage, required int dstOffset, required int rawOffset, required String timeZoneId, required String timeZoneName})
-
TimezoneResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- dstOffset → int
-
The offset for daylight-savings time in seconds.
final
- errorMessage → String?
-
JSON error_message
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNoResults → bool
-
no setterinherited
- isDenied → bool
-
no setterinherited
- isInvalid → bool
-
no setterinherited
- isNotFound → bool
-
no setterinherited
- isOk → bool
-
no setterinherited
- isOverQueryLimit → bool
-
no setterinherited
- rawOffset → int
-
The offset from UTC (in seconds) for the given location.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ResponseStatus
-
finalinherited
- timeZoneId → String
-
A string containing the ID of the time zone,
such as "America/Los_Angeles" or "Australia/Sydney".
final
- timeZoneName → String
-
A string containing the long form name of the time zone.
This field will be localized if the language parameter is set.
eg. "Pacific Daylight Time" or "Australian Eastern Daylight Time".
final
- unknownError → bool
-
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