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