Encoder class

Generates Aztec 2D barcodes.

@author Rustam Abdullaev

Constructors

Encoder.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

encode(String data, [int minECCPercent = DEFAULT_AZTEC_LAYERS, int userSpecifiedLayers = DEFAULT_AZTEC_LAYERS, Encoding? charset]) AztecCode
Encodes the given string content as an Aztec symbol
encodeData(Uint8List data, [int minECCPercent = DEFAULT_AZTEC_LAYERS, int userSpecifiedLayers = DEFAULT_AZTEC_LAYERS, Encoding? charset]) AztecCode
Encodes the given binary content as an Aztec symbol
generateModeMessage(bool compact, int layers, int messageSizeInWords) BitArray
stuffBits(BitArray bits, int wordSize) BitArray

Constants

DEFAULT_AZTEC_LAYERS → const int
DEFAULT_EC_PERCENT → const int