InputImage.fromFilePath constructor

InputImage.fromFilePath(
  1. String path
)

Creates an instance of InputImage from path of image stored in device.

Implementation

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