setCacheData abstract method
Sets cached data for the provided URL with the given data asynchronously. Parameters: url: The URL for which data is to be cached. data: The data to be cached. Returns: A future that completes with a boolean value indicating the success of the caching operation. Returns true if the data is successfully cached, otherwise false.
Implementation
Future<bool> setCacheData(String url, String data);