HttpClient.internal constructor
HttpClient.internal(})
Implementation
@visibleForTesting
HttpClient.internal(final String url, final String token,
{http.Client? httpClient, bool testMode = false})
: _baseUrl = url,
_client = httpClient ?? http.Client(),
_token = token {
if (!testMode) {
assert(url.isNotEmpty);
assert(token.isNotEmpty);
}
}