TodayWeatherBean.fromJson constructor

TodayWeatherBean.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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