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