ErrorCorrection enum
Error correction level: how much of the symbol can be damaged and still read. Higher levels make the symbol larger.
QR codes use the levels directly (L ≈ 7%, M ≈ 15%, Q ≈ 25%, H ≈ 30%). Aztec maps them to 10%, 23%, 36% and 50% of the symbol, PDF417 to security levels 2 to 5. Data Matrix and linear formats have fixed error correction and ignore it.
Values
- low → const ErrorCorrection
-
About 7% recoverable (QR L).
- medium → const ErrorCorrection
-
About 15% recoverable (QR M).
- quartile → const ErrorCorrection
-
About 25% recoverable (QR Q).
- high → const ErrorCorrection
-
About 30% recoverable (QR H). Use with a logo in the middle.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
ErrorCorrection> - A constant List of the values in this enum, in order of their declaration.