InputImage.fromFilePath constructor

InputImage.fromFilePath(
  1. String path
)

Create InputImage from path of image stored in device.

Implementation

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