CurrentWeatherResponse constructor
CurrentWeatherResponse({
- required DateTime dt,
- required Coordinate coordinate,
- required List<
Weather> weather, - required String base,
- required ResponseMain main,
- int? visibility,
- required Wind wind,
- required Clouds clouds,
- Rain? rain,
- Snow? snow,
- required Sys sys,
- required double timezone,
- required int id,
- required String name,
- 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,
});