VmServerConnection constructor Null safety
- Stream<
Map< _requestStream,String, Object> > - StreamSink<
Map< _responseSink,String, Object?> > - ServiceExtensionRegistry _serviceExtensionRegistry,
- VmServiceInterface _serviceImplementation
Implementation
VmServerConnection(this._requestStream, this._responseSink,
this._serviceExtensionRegistry, this._serviceImplementation) {
_requestStream.listen(_delegateRequest, onDone: _doneCompleter.complete);
done.then(
(_) => _streamSubscriptions.values.forEach((sub) => sub.cancel()));
}