VMServiceFlutterDriver.connectedTo constructor

VMServiceFlutterDriver.connectedTo(
  1. VMServiceClient _serviceClient,
  2. Peer _peer,
  3. VMIsolate _appIsolate,
  4. {bool printCommunication: false,
  5. bool logCommunicationToFile: true}
)

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

Implementation

VMServiceFlutterDriver.connectedTo(
    this._serviceClient,
    this._peer,
    this._appIsolate, {
      bool printCommunication = false,
      bool logCommunicationToFile = true,
    }) : _printCommunication = printCommunication,
      _logCommunicationToFile = logCommunicationToFile,
      _driverId = _nextDriverId++;