ListLabelingJobsResponse.fromJson constructor

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

Implementation

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