disconnectPrinter method
Disconnects from the currently connected printer.
Ensures proper termination of the connection. This must be implemented by platform-specific classes.
Throws an UnimplementedError if the method is not implemented by the platform.
Implementation
Future<void> disconnectPrinter() {
throw UnimplementedError('disconnectPrinter() has not been implemented.');
}