toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final labelingJobAlgorithmSpecificationArn =
      this.labelingJobAlgorithmSpecificationArn;
  final initialActiveLearningModelArn = this.initialActiveLearningModelArn;
  final labelingJobResourceConfig = this.labelingJobResourceConfig;
  return {
    'LabelingJobAlgorithmSpecificationArn':
        labelingJobAlgorithmSpecificationArn,
    if (initialActiveLearningModelArn != null)
      'InitialActiveLearningModelArn': initialActiveLearningModelArn,
    if (labelingJobResourceConfig != null)
      'LabelingJobResourceConfig': labelingJobResourceConfig,
  };
}