CodeResult class final

@brief The CodeResult class encapsulates the result of decoding a barcode within an image.

Inheritance
Implemented types
Available extensions

Constructors

CodeResult()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
bytes ↔ Pointer<Uint8>
< The bytes is the raw content without any character set conversions. Owned pointer. Must be freed by Dart code if not null.
getter/setter pair
duration ↔ int
< The duration of the decoding in milliseconds
getter/setter pair
error ↔ Pointer<Char>
< The error message. Owned pointer. Must be freed by Dart code if not null.
getter/setter pair
format ↔ int
< The format of the barcode
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
imageBytes ↔ Pointer<Uint8>
< The image bytes. Owned pointer. Must be freed by Dart code if not null.
getter/setter pair
imageHeight ↔ int
< The height of the image
getter/setter pair
imageLength ↔ int
< The length of the image bytes
getter/setter pair
imageWidth ↔ int
< The width of the image
getter/setter pair
isInverted ↔ bool
< Whether the barcode was inverted
getter/setter pair
isMirrored ↔ bool
< Whether the barcode was mirrored
getter/setter pair
isValid ↔ bool
< Whether the barcode was successfully decoded
getter/setter pair
length ↔ int
< The length of the bytes
getter/setter pair
pos ↔ Pos
< The position of the barcode within the image
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ Pointer<Char>
< The decoded text. Owned pointer. Must be freed by Dart code if not null.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCode() → Code

Available on CodeResult, provided by the CodeExt extension

toString() → String
A string representation of this object.
inherited

Operators

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