disconnectPrinter method
Disconnects from the currently connected printer.
Ensures proper termination of the connection to avoid issues with subsequent connections.
Returns a Future that completes when the disconnection process is finished.
Implementation
@override
Future<void> disconnectPrinter() async {
await methodChannel.invokeMethod('disconnectPrinter');
}