DeploymentCircuitBreaker.fromJson constructor

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

Implementation

factory DeploymentCircuitBreaker.fromJson(Map<String, dynamic> json) {
  return DeploymentCircuitBreaker(
    enable: json['enable'] as bool,
    rollback: json['rollback'] as bool,
  );
}