CurrentWeather.fromJson constructor

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

Parse from a json

Implementation

factory CurrentWeather.fromJson(Map<String, dynamic> json) => CurrentWeather(
      temperature: json['temperature'],
      emoji: json['emoji'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );