endCommunication method
Ends a communication with the printer. Note: This does not seem to impact printing.
Implementation
Future<bool> endCommunication() async {
var params = {
"printerId": mPrinterId,
"printInfo": mPrinterInfo.toMap(),
};
final bool result = await _channel.invokeMethod("endCommunication", params);
print("Print Result: ${result} ");
return result;
}