ListJobsResponse.fromJson constructor

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

Implementation

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