AwsJobExponentialRolloutRate.fromJson constructor

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

Implementation

factory AwsJobExponentialRolloutRate.fromJson(Map<String, dynamic> json) {
  return AwsJobExponentialRolloutRate(
    baseRatePerMinute: json['baseRatePerMinute'] as int,
    incrementFactor: json['incrementFactor'] as double,
    rateIncreaseCriteria: AwsJobRateIncreaseCriteria.fromJson(
        json['rateIncreaseCriteria'] as Map<String, dynamic>),
  );
}