UCode class
One decoded symbol.
Constructors
-
UCode({required UCodeFormat format, required String text, required Uint8List bytes, List<
Offset> corners = const <Offset>[], int? eci, UCodeSource source = UCodeSource.dart, bool inverted = false, UCodeStructuredAppend? structuredAppend, String? errorCorrectionLevel, int? version, int? mask}) -
const
Properties
- angle → double
-
Rotation of the symbol in the source image, in degrees.
no setter
- bytes → Uint8List
-
final
- center → Offset
-
no setter
-
corners
→ List<
Offset> -
Symbol outline in source-image pixels, clockwise from the top-left.
final
- eci → int?
-
final
- errorCorrectionLevel → String?
-
final
- format → UCodeFormat
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inverted → bool
-
final
- mask → int?
-
final
-
parsed
→ Map<
String, String> -
no setter
- rect → Rect
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → UCodeSource
-
final
- structuredAppend → UCodeStructuredAppend?
-
final
- text → String
-
final
- valueType → UCodeValueType
-
no setter
- version → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
-
translated(
double dx, double dy) → UCode
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited