GoogleVisionImage.fromFilePath constructor

GoogleVisionImage.fromFilePath(
  1. String imagePath
)

Construct a GoogleVisionImage from a file path.

Implementation

factory GoogleVisionImage.fromFilePath(String imagePath) {
  return GoogleVisionImage._(
    type: _ImageType.file,
    filePath: imagePath,
  );
}