setHttpClient static method
void
setHttpClient(
- Client client
Sets a custom HTTP client (useful for testing).
Implementation
static void setHttpClient(http.Client client) {
_httpClient = client;
}
Sets a custom HTTP client (useful for testing).
static void setHttpClient(http.Client client) {
_httpClient = client;
}