disconnect method

Future<bool?> disconnect()

disconnect() asynchronously disconnects from the currently connected printer and returns a Boolean value afterwards with the result of the disconnect operation (i.e. success or failure).

This will also clear the value of "LastConnectedPrinterName" internally.

Implementation

Future<bool?> disconnect() {
  throw UnimplementedError('disconnect() has not been implemented.');
}