InputImage.fromFile constructor
InputImage.fromFile(
- File file
Creates an instance of InputImage by passing a file.
Implementation
factory InputImage.fromFile(File file) {
return InputImage._(filePath: file.path, type: InputImageType.file);
}