QrParams class

QR parameters.

Constructors

QrParams()
Constructor
QrParams.fromJson(Map<String, dynamic> json)
Creates a QrParams instance from a JSON representation.

Properties

aspectRatio double?
Height/Width ratio of 2D BarCode module.
getter/setter pair
eCIEncoding ECIEncodings?
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
getter/setter pair
encodeMode QREncodeMode?
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.Auto.
getter/setter pair
encodeType QREncodeType?
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
getter/setter pair
errorLevel QRErrorLevel?
Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structuredAppend StructuredAppend?
QR structured append parameters.
getter/setter pair
textEncoding String?
DEPRECATED: This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array. Sets the encoding of codetext.
getter/setter pair
version QRVersion?
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of QrParams.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

listFromJson(List json) List<QrParams>
Converts a list of JSON objects to a list of QrParams instances.