LookupForecastResponse.fromJson constructor
LookupForecastResponse.fromJson(
- Map json_
Implementation
LookupForecastResponse.fromJson(core.Map json_)
: this(
dailyInfo: json_.containsKey('dailyInfo')
? (json_['dailyInfo'] as core.List)
.map((value) => DayInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
regionCode: json_.containsKey('regionCode')
? json_['regionCode'] as core.String
: null,
);