close method
void
close()
Closes the HTTP client and clears the cache.
Implementation
void close() {
_client?.close();
_client = null;
_cache.clear();
_log('Client closed');
}
Closes the HTTP client and clears the cache.
void close() {
_client?.close();
_client = null;
_cache.clear();
_log('Client closed');
}