toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (basicConfig != null) 'basicConfig': basicConfig!,
      if (boundingPolyConfig != null)
        'boundingPolyConfig': boundingPolyConfig!,
      if (feature != null) 'feature': feature!,
      if (imageClassificationConfig != null)
        'imageClassificationConfig': imageClassificationConfig!,
      if (polylineConfig != null) 'polylineConfig': polylineConfig!,
      if (segmentationConfig != null)
        'segmentationConfig': segmentationConfig!,
    };