Historical class

Discover how weather has shaped our world from 1940 until now.

https://open-meteo.com/en/docs/historical-weather-api/

Constructors

Historical.new({String apiUrl = 'https://archive-api.open-meteo.com/v1/', required double latitude, required double longitude, double? elevation, DateTime? start_date, DateTime? end_date, TemperatureUnit? temperature_unit, WindspeedUnit? windspeed_unit, PrecipitationUnit? precipitation_unit, String? apikey})

Properties

apikey String?
getter/setter pair
apiUrl String
getter/setter pair
cell_selection CellSelection?
getter/setter pair
elevation double?
getter/setter pair
end_date DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
latitude double
final
longitude double
final
precipitation_unit PrecipitationUnit?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start_date DateTime?
getter/setter pair
temperature_unit TemperatureUnit?
getter/setter pair
windspeed_unit WindspeedUnit?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
raw_request({List<Hourly>? hourly, List<Daily>? daily}) Future<Map<String, dynamic>>
request({List<Hourly>? hourly, List<Daily>? daily}) Future<WeatherResponse>
toString() String
A string representation of this object.
inherited

Operators

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