DeploymentConfiguration.fromJson constructor

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

Implementation

factory DeploymentConfiguration.fromJson(Map<String, dynamic> json) {
  return DeploymentConfiguration(
    deploymentCircuitBreaker: json['deploymentCircuitBreaker'] != null
        ? DeploymentCircuitBreaker.fromJson(
            json['deploymentCircuitBreaker'] as Map<String, dynamic>)
        : null,
    maximumPercent: json['maximumPercent'] as int?,
    minimumHealthyPercent: json['minimumHealthyPercent'] as int?,
  );
}