VMServiceFlutterDriver.connectedTo constructor

VMServiceFlutterDriver.connectedTo(
  1. VmService _serviceClient,
  2. Isolate _appIsolate, {
  3. bool printCommunication = false,
  4. bool logCommunicationToFile = true,
})

Creates a driver that uses a connection provided by the given serviceClient and appIsolate.

Implementation

VMServiceFlutterDriver.connectedTo(
  this._serviceClient,
  this._appIsolate, {
  this._printCommunication = false,
  this._logCommunicationToFile = true,
}) : _driverId = _nextDriverId++ {
  _logFilePathName = p.join(testOutputsDirectory, 'flutter_driver_commands_$_driverId.log');
}