DeploymentComponentUpdatePolicy.fromJson constructor

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

Implementation

factory DeploymentComponentUpdatePolicy.fromJson(Map<String, dynamic> json) {
  return DeploymentComponentUpdatePolicy(
    action: (json['action'] as String?)
        ?.toDeploymentComponentUpdatePolicyAction(),
    timeoutInSeconds: json['timeoutInSeconds'] as int?,
  );
}