toJson method

Map<String, dynamic> toJson()

Implementation

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