disconnectToPrinter method
Implementation
@override
Future<bool> disconnectToPrinter(String ipAddress) async {
try {
return await methodChannel
.invokeMethod("disconnect", {"printerId": ipAddress});
} catch (e) {
print("There is an issue while disconnecting to the printer $e");
return false;
}
}