ForecastExportJobSummary.fromJson constructor

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

Implementation

factory ForecastExportJobSummary.fromJson(Map<String, dynamic> json) {
  return ForecastExportJobSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    destination: json['Destination'] != null
        ? DataDestination.fromJson(
            json['Destination'] as Map<String, dynamic>)
        : null,
    forecastExportJobArn: json['ForecastExportJobArn'] as String?,
    forecastExportJobName: json['ForecastExportJobName'] as String?,
    lastModificationTime: timeStampFromJson(json['LastModificationTime']),
    message: json['Message'] as String?,
    status: json['Status'] as String?,
  );
}