ListAlgorithmsOutput.fromJson constructor

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

Implementation

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