MethodChannelZcsSdkPlugin class

Inheritance

Constructors

MethodChannelZcsSdkPlugin()

Properties

channel MethodChannel
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeDevice() Future<Map<String, dynamic>>
override
connectToDevice(String deviceId) Future<String?>
override
disconnect() Future<bool>
override
getDeviceInfo() Future<String?>
override
getDeviceStatus() Future<Map<String, dynamic>?>
override
getPlatformVersion() Future<String?>
override
initializeDevice() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDevice() Future<Map<String, dynamic>>
override
printImage(String imageData) Future<Map<String, dynamic>>
Print an image (logo, signature, etc.)
override
printQrCode(String data, {int size = 200, String errorCorrectionLevel = "L"}) Future<Map<String, dynamic>>
override
printReceipt(Map<String, dynamic> receiptData) Future<Map<String, dynamic>>
Print a formatted receipt
override
printText(String text, {int fontSize = 50, bool isBold = false, bool isUnderline = false, String alignment = "LEFT"}) Future<Map<String, dynamic>>
text - Text to print (required) fontSize - Font size (default: 24) isBold - Make text bold (default: false) isUnderline - Underline text (default: false) alignment - Text alignment: "LEFT", "CENTER", "RIGHT" (default: "LEFT")
override
scanForDevices() Future<List<String>>
override
sendCommand(String command) Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

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