ListClusterOperationsResponse.fromJson constructor

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

Implementation

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