setHttpClient method

dynamic setHttpClient(
  1. Client client
)

Set the HTTP client to use for fetching data

Implementation

setHttpClient(http.Client client) {
  httpClient = client;
}