LookupForecastRequest class
The request object of the air quality forecast API.
Constructors
-
LookupForecastRequest({List<
CustomLocalAqi> ? customLocalAqis, String? dateTime, List<String> ? extraComputations, String? languageCode, LatLng? location, int? pageSize, String? pageToken, Interval? period, String? uaqiColorPalette, bool? universalAqi}) - LookupForecastRequest.fromJson(Map json_)
Properties
-
customLocalAqis
↔ List<
CustomLocalAqi> ? -
Expresses a 'country/region to AQI' relationship.
getter/setter pair
- dateTime ↔ String?
-
A timestamp for which to return the data for a specific point in time.
getter/setter pair
-
extraComputations
↔ List<
String> ? -
Additional features that can be optionally enabled.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode ↔ String?
-
Allows the client to choose the language for the response.
getter/setter pair
- location ↔ LatLng?
-
The latitude and longitude for which the API looks for air quality data.
getter/setter pair
- pageSize ↔ int?
-
The maximum number of hourly info records to return per page (default =
24).
getter/setter pair
- pageToken ↔ String?
-
A page token received from a previous forecast call.
getter/setter pair
- period ↔ Interval?
-
Indicates the start and end period for which to get the forecast data.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uaqiColorPalette ↔ String?
-
Determines the color palette used for data provided by the 'Universal Air
Quality Index' (UAQI).
getter/setter pair
- universalAqi ↔ bool?
-
If set to true, the Universal AQI will be included in the 'indexes' field
of the response (default = true).
getter/setter pair
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