ListJobsResponse.fromJson constructor

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

Implementation

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