dart"><code class="language-dart">static Future&lt;ServiceProtocolInfo&gt; controlWebServer(
    {bool enable: false}) async {
  ArgumentError.checkNotNull(enable, &#39;enable&#39;);
  &#47;&#47; Port to receive response from service isolate.
  final RawReceivePort receivePort = new RawReceivePort();
  final Completer&lt;Uri&gt; uriCompleter = new Completer&lt;Uri&gt;();
  receivePort.handler = (Uri uri) =&gt; uriCompleter.complete(uri);
  &#47;&#47; Request the information from the service isolate.
  _webS