additionCallback property

dynamic Function(bool, bool)? additionCallback
final

Called after the cache-lookup decision is made.

Receives two booleans: (willExecuteNetworkCall, hasCacheExpired). Use this to show/hide a stale-data indicator in your UI.

Implementation

final Function(bool, bool)? additionCallback;