toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bigqueryImportKeys != null)
        'bigqueryImportKeys': bigqueryImportKeys!,
      if (boundingPolyConfig != null)
        'boundingPolyConfig': boundingPolyConfig!.toJson(),
      if (evaluationConfig != null)
        'evaluationConfig': evaluationConfig!.toJson(),
      if (evaluationJobAlertConfig != null)
        'evaluationJobAlertConfig': evaluationJobAlertConfig!.toJson(),
      if (exampleCount != null) 'exampleCount': exampleCount!,
      if (exampleSamplePercentage != null)
        'exampleSamplePercentage': exampleSamplePercentage!,
      if (humanAnnotationConfig != null)
        'humanAnnotationConfig': humanAnnotationConfig!.toJson(),
      if (imageClassificationConfig != null)
        'imageClassificationConfig': imageClassificationConfig!.toJson(),
      if (inputConfig != null) 'inputConfig': inputConfig!.toJson(),
      if (textClassificationConfig != null)
        'textClassificationConfig': textClassificationConfig!.toJson(),
    };