CreateClusterResponse.fromJson constructor

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

Implementation

factory CreateClusterResponse.fromJson(Map<String, dynamic> json) {
  return CreateClusterResponse(
    cluster: json['cluster'] != null
        ? Cluster.fromJson(json['cluster'] as Map<String, dynamic>)
        : null,
  );
}