IoTJobAbortCriteria.fromJson constructor
Implementation
factory IoTJobAbortCriteria.fromJson(Map<String, dynamic> json) {
return IoTJobAbortCriteria(
action: (json['action'] as String).toIoTJobAbortAction(),
failureType:
(json['failureType'] as String).toIoTJobExecutionFailureType(),
minNumberOfExecutedThings: json['minNumberOfExecutedThings'] as int,
thresholdPercentage: json['thresholdPercentage'] as double,
);
}