ListJobsResult.fromJson constructor

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

Implementation

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