ListHumanLoopsResponse.fromJson constructor

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

Implementation

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