startCommunication method
Open the communication to the printer. returns true on success, false on failure.
Implementation
Future<bool> startCommunication() async {
var params = {
"printerId": _printerId,
"printInfo": _printerInfo.toMap(),
};
final String printerId =
await _channel.invokeMethod("typeB-startCommunication", params);
_printerId = printerId;
return _printerId.isNotEmpty;
}