ListDataSetRevisionsResponse.fromJson constructor

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

Implementation

factory ListDataSetRevisionsResponse.fromJson(Map<String, dynamic> json) {
  return ListDataSetRevisionsResponse(
    nextToken: json['NextToken'] as String?,
    revisions: (json['Revisions'] as List?)
        ?.whereNotNull()
        .map((e) => RevisionEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}