where property
Function triggered before caching the value. Should return bool
if returns true
: value will be cached,
if returns false
: value wil be ignored
Useful to signal that a certain result must not be cached, but @IgnoreCache is not enough (e.g. condition whether or not to cache known once acquiring data)
Implementation
final Function? where;