ListDataSourcesResponse.fromJson constructor
Implementation
factory ListDataSourcesResponse.fromJson(Map<String, dynamic> json) {
return ListDataSourcesResponse(
nextToken: json['NextToken'] as String?,
summaryItems: (json['SummaryItems'] as List?)
?.whereNotNull()
.map((e) => DataSourceSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}