toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boundingPolyConfig != null)
        'boundingPolyConfig': boundingPolyConfig!,
      if (eventConfig != null) 'eventConfig': eventConfig!,
      if (humanAnnotationConfig != null)
        'humanAnnotationConfig': humanAnnotationConfig!,
      if (imageClassificationConfig != null)
        'imageClassificationConfig': imageClassificationConfig!,
      if (objectDetectionConfig != null)
        'objectDetectionConfig': objectDetectionConfig!,
      if (objectTrackingConfig != null)
        'objectTrackingConfig': objectTrackingConfig!,
      if (polylineConfig != null) 'polylineConfig': polylineConfig!,
      if (segmentationConfig != null)
        'segmentationConfig': segmentationConfig!,
      if (textClassificationConfig != null)
        'textClassificationConfig': textClassificationConfig!,
      if (textEntityExtractionConfig != null)
        'textEntityExtractionConfig': textEntityExtractionConfig!,
      if (videoClassificationConfig != null)
        'videoClassificationConfig': videoClassificationConfig!,
    };