withIds method
Adds unique identifier to each DataSource in the list.
Example:
final dataSources = [
DocsDataSource(),
BlogsDataSource()
].withIds(['docs_source', 'blogs_source']);
print(dataSources); // Outputs: [{id: docs_source}, {id: blogs_source}]
Implementation
List<DataSource> withIds(List<String> ids) {
return [];
}