Reloader constructor

Reloader(Uri buildRunnerUri, Uri proxyUri, Uri webSocketUri)

Implementation

Reloader(this.buildRunnerUri, this.proxyUri, this.webSocketUri) {
  if (!buildRunnerUri.isScheme('http'))
    throw new UnsupportedError(
        'Only `http` scheme is supported for buildRunnerUri.');
  if (!proxyUri.isScheme('http'))
    throw new UnsupportedError(
        'Only `http` scheme is supported for proxyUri.');
  if (!webSocketUri.isScheme('ws'))
    throw new UnsupportedError(
        'Only `ws` scheme is supported for webSocketUri.');
}