OpenWeather(- {required Coord coord,
- required List<Weather> weather,
- required String base,
- required Main main,
- required int visibility,
- required Wind wind,
- Snow? snow,
- Snow? rain,
- required Clouds clouds,
- required int dt,
- required Sys sys,
- required int timezone,
- required int id,
- required String name,
- required int cod}
)
Implementation
OpenWeather({
required this.coord,
required this.weather,
required this.base,
required this.main,
required this.visibility,
required this.wind,
this.snow,
this.rain,
required this.clouds,
required this.dt,
required this.sys,
required this.timezone,
required this.id,
required this.name,
required this.cod,
});