ElginQrcodeCorrection class

Enumeração dos níveis de correção de erro para impressão de QR Code.

Estes níveis determinam o percentual de dados que podem ser recuperados caso o QR Code seja danificado ou parcialmente ilegível. Use as constantes desta classe ao imprimir QR Codes em impressoras Elgin.

Exemplo de uso:

await Elgin.printer.printQRCode(
  "https://exemplo.com",
  correction: ElginQrcodeCorrection.LEVEL_H,
);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Valor inteiro utilizado pelo protocolo da impressora para o nível de correção.
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

Constants

LEVEL_H → const ElginQrcodeCorrection
Correção de nível H (High) – recupera até 30% dos dados.
LEVEL_L → const ElginQrcodeCorrection
Correção de nível L (Low) – recupera até 7% dos dados.
LEVEL_M → const ElginQrcodeCorrection
Correção de nível M (Medium) – recupera até 15% dos dados.
LEVEL_Q → const ElginQrcodeCorrection
Correção de nível Q (Quartile) – recupera até 25% dos dados.