InputImage.fromBytes constructor
InputImage.fromBytes({
- required Uint8List bytes,
- required InputImageData inputImageData,
Creates an instance of InputImage using bytes.
Implementation
factory InputImage.fromBytes(
{required Uint8List bytes, required InputImageData inputImageData}) {
return InputImage._(
bytes: bytes,
type: InputImageType.bytes,
inputImageData: inputImageData);
}