ListWorldExportJobsResponse.fromJson constructor

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

Implementation

factory ListWorldExportJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListWorldExportJobsResponse(
    worldExportJobSummaries: (json['worldExportJobSummaries'] as List)
        .whereNotNull()
        .map((e) => WorldExportJobSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}