GetJobRunsResponse.fromJson constructor

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

Implementation

factory GetJobRunsResponse.fromJson(Map<String, dynamic> json) {
  return GetJobRunsResponse(
    jobRuns: (json['JobRuns'] as List?)
        ?.whereNotNull()
        .map((e) => JobRun.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}