PrintQrCodeModel class
- Inheritance
-
- Object
- NiimbotPrintElement
- PrintQrCodeModel
Constructors
- PrintQrCodeModel({required String data, NiimbotRect? frame, double? width, double? height, NiimbotElementAlignment horizontalAlignment = NiimbotElementAlignment.center, NiimbotElementAlignment verticalAlignment = NiimbotElementAlignment.center, NiimbotMatrixCodeType type = NiimbotMatrixCodeType.qrCode, NiimbotRotation rotation = NiimbotRotation.degree0})
-
Creates a matrix code with optional dimensions in millimetres.
const
Properties
- data → String
-
Content encoded in the QR code.
final
- frame → NiimbotRect?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- horizontalAlignment → NiimbotElementAlignment
-
final
- rotation → NiimbotRotation
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NiimbotMatrixCodeType
-
final
- verticalAlignment → NiimbotElementAlignment
-
final
- width → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> -
Converts this model to the map sent to the native SDK.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited