FirebaseVisionImageMetadata class

Image metadata used by FirebaseVision detectors.

rotation defaults to ImageRotation.rotation0. Currently only rotates on Android.

When using iOS, rawFormat and planeData throw AssertionError if null.

Constructors

FirebaseVisionImageMetadata({required Size size, Object? rawFormat, List<FirebaseVisionImagePlaneMetadata>? planeData, ImageRotation rotation = ImageRotation.rotation0})

Properties

hashCode int
The hash code for this object.
no setterinherited
planeData List<FirebaseVisionImagePlaneMetadata>?
The plane attributes to create the image buffer on iOS.
final
rawFormat Object?
Raw version of the format from the iOS platform.
final
rotation ImageRotation
Rotation of the image for Android.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
Size of the image in pixels.
final

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