toJson method
Implementation
Map<String, dynamic> toJson() => {
"dt": dt,
"temp": temp,
"pressure": pressure,
"humidity": humidity,
"wind_speed": windSpeed,
"wind_deg": windDeg,
"weather": List<dynamic>.from(weather.map((x) => x.toJson())),
};