FlutterDriver.connectedTo constructor
- @visibleForTesting
Creates a driver that uses a connection provided by the given
_serviceClient
, _peer
and _appIsolate
.
Implementation
@visibleForTesting
FlutterDriver.connectedTo(
this._serviceClient,
this._peer,
this._appIsolate, {
bool printCommunication = false,
bool logCommunicationToFile = true,
this.timeoutMultiplier = _kDefaultTimeoutMultiplier,
}) : _printCommunication = printCommunication,
_logCommunicationToFile = logCommunicationToFile,
_driverId = _nextDriverId++;