ZebraPrinter constructor
ZebraPrinter(})
Implementation
ZebraPrinter(String id, {String? label, required void Function(ZebraPrinter) notifierFunction,Function? statusListener}) {
channel = MethodChannel('ZebraPrinterInstance$id');
log("ZebraPrinterInstanceCreated: $id (${label ?? id})");
instanceID = label == null ? id : "$id ($label)";
notifier = notifierFunction;
channel.setMethodCallHandler(_printerMethodCallHandler);
broadCastStatus(statusListener);
}