ListClusterJobsResult.fromJson constructor

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

Implementation

factory ListClusterJobsResult.fromJson(Map<String, dynamic> json) {
  return ListClusterJobsResult(
    jobListEntries: (json['JobListEntries'] as List?)
        ?.whereNotNull()
        .map((e) => JobListEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}