LabelingJobAlgorithmsConfig.fromJson constructor

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

Implementation

factory LabelingJobAlgorithmsConfig.fromJson(Map<String, dynamic> json) {
  return LabelingJobAlgorithmsConfig(
    labelingJobAlgorithmSpecificationArn:
        json['LabelingJobAlgorithmSpecificationArn'] as String,
    initialActiveLearningModelArn:
        json['InitialActiveLearningModelArn'] as String?,
    labelingJobResourceConfig: json['LabelingJobResourceConfig'] != null
        ? LabelingJobResourceConfig.fromJson(
            json['LabelingJobResourceConfig'] as Map<String, dynamic>)
        : null,
  );
}