clearCache method
It clears the cache
Args: method (String): The HTTP method of the request. url (Uri): The URL to clear the cache for.
Implementation
Future<void> clearCache({
String? method,
Uri? url,
}) async {
await _storage.clear(prefix: _getPrefixKeyCache(method: method, url: url));
}