ListLabelingJobsForWorkteamResponse.fromJson constructor

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

Implementation

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