TodayWeatherBean.fromJson constructor
Implementation
factory TodayWeatherBean.fromJson(Map<String, dynamic> json) => TodayWeatherBean(
city: json["city"] ?? "",
lunar: json["lunar"] ?? "",
festival: json["festival"] ?? "",
pm25: json["pm25"] ?? -1,
temp: json["temp"] ?? -1,
weatherId: json["weatherId"] ?? -1,
);