FirebaseVisionImage 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

FirebaseVisionImage.fromBytes(Uint8List bytes, FirebaseVisionImageMetadata metadata)
Construct a FirebaseVisionImage from a list of bytes.
factory
FirebaseVisionImage.fromFile(File imageFile)
Construct a FirebaseVisionImage from a file.
factory
FirebaseVisionImage.fromFilePath(String imagePath)
Construct a FirebaseVisionImage 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