generateKey abstract method
Generates a unique cache key for a specific HTTP request.
method: The HTTP method (GET, POST, PUT, DELETE)url: The complete request URL including query parametersbody: The request body (for POST and PUT requests)
Returns a string that uniquely identifies this request for caching purposes.
Implementation
String generateKey({
required REQUEST_METHODS method,
required Uri url,
Object? body,
});