generateCacheKey property

String Function(RequestOptions options, String key)? generateCacheKey
final

A function to override the default cache key structure.

This function can include the date and duration to enable cache lifetime control.

Implementation

final String Function(RequestOptions options, String key)? generateCacheKey;