InputImage.fromFile constructor

InputImage.fromFile(
  1. File file
)

Create InputImage by passing a file.

Implementation

factory InputImage.fromFile(File file) {
  return InputImage._(filePath: file.path, imageType: 'file');
}