LookupHistoryRequest class

The request object of the air quality history API.

Constructors

LookupHistoryRequest({List<CustomLocalAqi>? customLocalAqis, String? dateTime, List<String>? extraComputations, int? hours, String? languageCode, LatLng? location, int? pageSize, String? pageToken, Interval? period, String? uaqiColorPalette, bool? universalAqi})
LookupHistoryRequest.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 historical data.
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
hours int?
Number from 1 to 720 that indicates the hours range for the request.
getter/setter pair
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 history data.
getter/setter pair
pageSize int?
The maximum number of hourly info records to return per page.
getter/setter pair
pageToken String?
A page token received from a previous history call.
getter/setter pair
period Interval?
Indicates the start and end period for which to get the historical 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.
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