ListJobsResponse.fromJson constructor

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

Implementation

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