Called to restore items from cache when a request fails. Return null or an empty list if no cache exists.
null
List<Map<String, dynamic>>? Function(String key)? onReadCache;