SegmentationRequest constructor

SegmentationRequest({
  1. SegmentationImage? image,
  2. SegmentationOptions? options,
  3. String? modelId,
})

Implementation

factory SegmentationRequest({
  SegmentationImage? image,
  SegmentationOptions? options,
  $core.String? modelId,
}) {
  final result = create();
  if (image != null) result.image = image;
  if (options != null) result.options = options;
  if (modelId != null) result.modelId = modelId;
  return result;
}