ZcsSdkPluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ZcsSdkPluginPlatform
Implementers

Constructors

ZcsSdkPluginPlatform()

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

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

Operators

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

Static Properties

instance ZcsSdkPluginPlatform
The default instance of ZcsSdkPluginPlatform to use.
getter/setter pair