CurrentWeather.fromJson constructor

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

Implementation

CurrentWeather.fromJson(Map<String, dynamic> json) {
  temperature = json['temperature'];
  weathercode = json['weathercode'];
}