DescribeClustersResponse.fromJson constructor
Implementation
factory DescribeClustersResponse.fromJson(Map<String, dynamic> json) {
return DescribeClustersResponse(
clusters: (json['clusters'] as List?)
?.whereNotNull()
.map((e) => Cluster.fromJson(e as Map<String, dynamic>))
.toList(),
failures: (json['failures'] as List?)
?.whereNotNull()
.map((e) => Failure.fromJson(e as Map<String, dynamic>))
.toList(),
);
}