menu
smart_dio package
documentation
http/request/smart_request.dart
SmartRequest<T>
cacheOptions property
cacheOptions property
dark_mode
light_mode
cacheOptions
property
CacheOptions
?
cacheOptions
final
单次请求缓存选项
需要配合
CachePlugin
使用。 若设置,会在当前请求上覆盖全局缓存策略。
Implementation
final CacheOptions? cacheOptions;
smart_dio package
documentation
http/request/smart_request
SmartRequest<T>
cacheOptions property
SmartRequest class