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