QueryForecastResponse.fromJson constructor

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

Implementation

factory QueryForecastResponse.fromJson(Map<String, dynamic> json) {
  return QueryForecastResponse(
    forecast: json['Forecast'] != null
        ? Forecast.fromJson(json['Forecast'] as Map<String, dynamic>)
        : null,
  );
}