WeatherExp.fromJson constructor
WeatherExp.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WeatherExp.fromJson(Map<String, dynamic> json) => WeatherExp(
ct: json['ct'] == null
? null
: WeatherExpCommon.fromJson(json['ct'] as Map<String, dynamic>),
dy: json['dy'] == null
? null
: WeatherExpCommon.fromJson(json['dy'] as Map<String, dynamic>),
gm: json['gm'] == null
? null
: WeatherExpCommon.fromJson(json['gm'] as Map<String, dynamic>),
jt: json['jt'] == null
? null
: WeatherExpCommon.fromJson(json['jt'] as Map<String, dynamic>),
tr: json['tr'] == null
? null
: WeatherExpCommon.fromJson(json['tr'] as Map<String, dynamic>),
uv: json['uv'] == null
? null
: WeatherExpCommon.fromJson(json['uv'] as Map<String, dynamic>),
xc: json['xc'] == null
? null
: WeatherExpCommon.fromJson(json['xc'] as Map<String, dynamic>),
yd: json['yd'] == null
? null
: WeatherExpCommon.fromJson(json['yd'] as Map<String, dynamic>),
);