Weather constructor

Weather({
  1. required double? latitude,
  2. required double? longitude,
  3. HourlyWeather? hourly,
  4. CurrentWeather? current_weather,
  5. DailyWeather? daily,
  6. DailyUnits? daily_units,
  7. double? elevation,
  8. double? generationtime_ms,
  9. HourlyUnits? hourly_units,
  10. String? timezone,
  11. String? timezone_abbreviation,
  12. int? utc_offset_seconds,
})

Implementation

Weather({required this.latitude,
  required this.longitude,
  this.hourly,
  this.current_weather,
  this.daily,
  this.daily_units,
  this.elevation,
  this.generationtime_ms,
  this.hourly_units,
  this.timezone,
  this.timezone_abbreviation,
  this.utc_offset_seconds,
});