CreateClusterResponse.fromJson constructor

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

Implementation

factory CreateClusterResponse.fromJson(Map<String, dynamic> json) {
  return CreateClusterResponse(
    clusterArn: json['clusterArn'] as String?,
    clusterName: json['clusterName'] as String?,
    state: (json['state'] as String?)?.toClusterState(),
  );
}