toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotatedDataset != null) 'annotatedDataset': annotatedDataset!,
      if (createTime != null) 'createTime': createTime!,
      if (dataset != null) 'dataset': dataset!,
      if (imageBoundingBoxDetails != null)
        'imageBoundingBoxDetails': imageBoundingBoxDetails!,
      if (imageBoundingPolyDetails != null)
        'imageBoundingPolyDetails': imageBoundingPolyDetails!,
      if (imageClassificationDetails != null)
        'imageClassificationDetails': imageClassificationDetails!,
      if (imageOrientedBoundingBoxDetails != null)
        'imageOrientedBoundingBoxDetails': imageOrientedBoundingBoxDetails!,
      if (imagePolylineDetails != null)
        'imagePolylineDetails': imagePolylineDetails!,
      if (imageSegmentationDetails != null)
        'imageSegmentationDetails': imageSegmentationDetails!,
      if (partialFailures != null) 'partialFailures': partialFailures!,
      if (progressPercent != null) 'progressPercent': progressPercent!,
      if (textClassificationDetails != null)
        'textClassificationDetails': textClassificationDetails!,
      if (textEntityExtractionDetails != null)
        'textEntityExtractionDetails': textEntityExtractionDetails!,
      if (videoClassificationDetails != null)
        'videoClassificationDetails': videoClassificationDetails!,
      if (videoEventDetails != null) 'videoEventDetails': videoEventDetails!,
      if (videoObjectDetectionDetails != null)
        'videoObjectDetectionDetails': videoObjectDetectionDetails!,
      if (videoObjectTrackingDetails != null)
        'videoObjectTrackingDetails': videoObjectTrackingDetails!,
    };