DeploymentConfig.fromJson constructor

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

Implementation

factory DeploymentConfig.fromJson(Map<String, dynamic> json) {
  return DeploymentConfig(
    blueGreenUpdatePolicy: BlueGreenUpdatePolicy.fromJson(
        json['BlueGreenUpdatePolicy'] as Map<String, dynamic>),
    autoRollbackConfiguration: json['AutoRollbackConfiguration'] != null
        ? AutoRollbackConfig.fromJson(
            json['AutoRollbackConfiguration'] as Map<String, dynamic>)
        : null,
  );
}