WeatherModel.fromJson(Map<String, dynamic> json) { currentWeather = json['current_weather'] != null ? CurrentWeather.fromJson(json['current_weather']) : null; }