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