DoxTestClient constructor

DoxTestClient(
  1. Uri baseUri, {
  2. Map<String, String>? headers,
})

a client for a server that already runs at baseUri

Implementation

DoxTestClient(this.baseUri, {Map<String, String>? headers})
  : headers = Map<String, String>.unmodifiable(
      headers ?? const <String, String>{},
    ),
    _http = HttpClient();