CurrentWeatherResponse constructor

CurrentWeatherResponse({
  1. required DateTime dt,
  2. required Coordinate coordinate,
  3. required List<Weather> weather,
  4. required String base,
  5. required ResponseMain main,
  6. int? visibility,
  7. required Wind wind,
  8. required Clouds clouds,
  9. Rain? rain,
  10. Snow? snow,
  11. required Sys sys,
  12. required double timezone,
  13. required int id,
  14. required String name,
  15. required int cod,
})

Implementation

CurrentWeatherResponse({
  required this.dt,
  required this.coordinate,
  required this.weather,
  required this.base,
  required this.main,
  this.visibility,
  required this.wind,
  required this.clouds,
  this.rain,
  this.snow,
  required this.sys,
  required this.timezone,
  required this.id,
  required this.name,
  required this.cod,
});