VMServiceFlutterDriver.connectedTo constructor Null safety
Creates a driver that uses a connection provided by the given serviceClient and appIsolate.
Implementation
VMServiceFlutterDriver.connectedTo(
this._serviceClient,
this._appIsolate, {
bool printCommunication = false,
bool logCommunicationToFile = true,
}) : _printCommunication = printCommunication,
_logCommunicationToFile = logCommunicationToFile,
_driverId = _nextDriverId++
{
_logFilePathName = p.join(testOutputsDirectory, 'flutter_driver_commands_$_driverId.log');
}