ImageInputMessage class
An image to analyze.
Constructors
- ImageInputMessage({required ImageInputKindMessage kind, String? path, Uint8List? bytes, int? width, int? height, int? bytesPerRow})
Properties
- bytes ↔ Uint8List?
-
Encoded image bytes (
encoded) or BGRA8 pixels (pixels).getter/setter pair - bytesPerRow ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- height ↔ int?
-
getter/setter pair
- kind ↔ ImageInputKindMessage
-
getter/setter pair
- path ↔ String?
-
For
file.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width ↔ int?
-
For
pixels.getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → ImageInputMessage