ZebraPrinter constructor
ZebraPrinter(
- String id, {
- dynamic onDiscoveryError()?,
- Function? onPermissionDenied,
- ZebraPrinterNotifier? notifier,
Implementation
ZebraPrinter(String id,
{this.onDiscoveryError,
this.onPermissionDenied,
ZebraPrinterNotifier? notifier}) {
channel = MethodChannel('ZebraPrinterObject' + id);
channel.setMethodCallHandler(nativeMethodCallHandler);
this.notifier = notifier ?? ZebraPrinterNotifier();
}