disconnectPrinter method

  1. @override
Future<bool> disconnectPrinter()
override

Implementation

@override
Future<bool> disconnectPrinter() async {
  status = PrinterStatus.disconnecting;
  notifier(this);
  final bool result = await channel.invokeMethod("disconnectPrinter");
  status = PrinterStatus.disconnected;
  notifier(this);
  return result;
}