ListClustersResult.fromJson constructor

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

Implementation

factory ListClustersResult.fromJson(Map<String, dynamic> json) {
  return ListClustersResult(
    clusterListEntries: (json['ClusterListEntries'] as List?)
        ?.whereNotNull()
        .map((e) => ClusterListEntry.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}