GoogleVisionImage class

Represents an image object used for both on-device and cloud API detectors.

Create an instance by calling one of the factory constructors.

Constructors

GoogleVisionImage.fromBytes(Uint8List bytes, GoogleVisionImageMetadata metadata)
Construct a GoogleVisionImage from a list of bytes.
factory
GoogleVisionImage.fromFile(File imageFile)
Construct a GoogleVisionImage from a file.
factory
GoogleVisionImage.fromFilePath(String imagePath)
Construct a GoogleVisionImage from a file path.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited