InitializeClusterResponse.fromJson constructor

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

Implementation

factory InitializeClusterResponse.fromJson(Map<String, dynamic> json) {
  return InitializeClusterResponse(
    state: (json['State'] as String?)?.toClusterState(),
    stateMessage: json['StateMessage'] as String?,
  );
}