getZebraPrinterInstance method
Future<ZebraPrinter>
getZebraPrinterInstance({})
override
Implementation
@override
Future<ZebraPrinter> getZebraPrinterInstance({String? label, required void Function(ZebraPrinter) notifier,Function? statusListener}) async {
getPermissions();
String id = await methodChannel.invokeMethod("getInstance");
ZebraPrinter printer = ZebraPrinter(id, label: label, notifierFunction: notifier,statusListener: statusListener);
print("${printer.instanceID}");
return printer;
}