ListProgressUpdateStreamsResult.fromJson constructor

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

Implementation

factory ListProgressUpdateStreamsResult.fromJson(Map<String, dynamic> json) {
  return ListProgressUpdateStreamsResult(
    nextToken: json['NextToken'] as String?,
    progressUpdateStreamSummaryList: (json['ProgressUpdateStreamSummaryList']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            ProgressUpdateStreamSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}