Weather.fromJSON constructor Null safety
Implementation
factory Weather.fromJSON(Map<String, dynamic> json) {
return Weather(json["fcstTime"], json["category"], json["fcstValue"]);
}
factory Weather.fromJSON(Map<String, dynamic> json) {
return Weather(json["fcstTime"], json["category"], json["fcstValue"]);
}