DecreaseReplicationFactorResponse.fromJson constructor

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

Implementation

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