LocationForecast constructor

LocationForecast({
  1. required DateTime updated,
  2. required Coordinates coord,
  3. required List<Conditions> forecast,
})

Creates a LocationForecast instance.

updated: The UTC datetime when the forecast was updated. coord: The geographic location. forecast: The list of forecast conditions.

Implementation

LocationForecast({
  required this.updated,
  required this.coord,
  required this.forecast,
});