ListHumanTaskUisResponse.fromJson constructor

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

Implementation

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