ListClustersResponse.fromJson constructor

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

Implementation

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