DeploymentIoTJobConfiguration.fromJson constructor

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

Implementation

factory DeploymentIoTJobConfiguration.fromJson(Map<String, dynamic> json) {
  return DeploymentIoTJobConfiguration(
    abortConfig: json['abortConfig'] != null
        ? IoTJobAbortConfig.fromJson(
            json['abortConfig'] as Map<String, dynamic>)
        : null,
    jobExecutionsRolloutConfig: json['jobExecutionsRolloutConfig'] != null
        ? IoTJobExecutionsRolloutConfig.fromJson(
            json['jobExecutionsRolloutConfig'] as Map<String, dynamic>)
        : null,
    timeoutConfig: json['timeoutConfig'] != null
        ? IoTJobTimeoutConfig.fromJson(
            json['timeoutConfig'] as Map<String, dynamic>)
        : null,
  );
}