// GENERATED CODE - DO NOT MODIFY BY HAND part of 'weather_controller.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** WeatherModel _$WeatherModelFromJson(Map json) => WeatherModel() ..longitude = (json['longitude'] as num?)?.toDouble() ..latitude = (json['latitude'] as num?)?.toDouble() ..weather_info = json['weather_info'] as String? ..current_temperature = (json['current_temperature'] as num?)?.toInt() ..min_temperature = (json['min_temperature'] as num?)?.toInt() ..max_temperature = (json['max_temperature'] as num?)?.toInt() ..wind_direction = json['wind_direction'] as String? ..wind_speed = (json['wind_speed'] as num?)?.toInt() ..cityName = json['cityName'] as String? ..weatherIcon = json['weatherIcon'] as String? ..weatherIconurl = json['weatherIconurl'] as String?; Map _$WeatherModelToJson(WeatherModel instance) => { 'longitude': instance.longitude, 'latitude': instance.latitude, 'weather_info': instance.weather_info, 'current_temperature': instance.current_temperature, 'min_temperature': instance.min_temperature, 'max_temperature': instance.max_temperature, 'wind_direction': instance.wind_direction, 'wind_speed': instance.wind_speed, 'cityName': instance.cityName, 'weatherIcon': instance.weatherIcon, 'weatherIconurl': instance.weatherIconurl, };