toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "city": city,
      "lunar": lunar,
      "festival": festival,
      "pm25": pm25,
      "temp": temp,
      "weatherId": weatherId,
      "sunriseHour": sunriseHour,
      "sunriseMinute": sunriseMinute,
      "sunsetHour": sunsetHour,
      "sunsetMinute": sunsetMinute,
    };