SegmentationImage constructor
SegmentationImage({
- List<
int> ? data, - int? width,
- int? height,
- SegmentationPixelFormat? pixelFormat,
Implementation
factory SegmentationImage({
$core.List<$core.int>? data,
$core.int? width,
$core.int? height,
SegmentationPixelFormat? pixelFormat,
}) {
final result = create();
if (data != null) result.data = data;
if (width != null) result.width = width;
if (height != null) result.height = height;
if (pixelFormat != null) result.pixelFormat = pixelFormat;
return result;
}