IoTJobExponentialRolloutRate.fromJson constructor

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

Implementation

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