WeatherData.fromJson constructor

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

Factory method to create a WeatherData object from a JSON map

Implementation

factory WeatherData.fromJson(Map<String, dynamic> json) =>
    _$WeatherDataFromJson(json);