Weather.fromJSON constructor Null safety

Weather.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

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