queryCache property
ZenQueryCache
get
queryCache
Shorthand for ZenQueryCache.instance.
Provides shorter, more convenient access to the query cache.
Shorthand for ZenQueryCache.instance.
Provides shorter, more convenient access to the query cache.
Example:
// Before
ZenQueryCache.instance.setQueryData('users', (_) => users);
// After
Zen.queryCache.setQueryData('users', (_) => users);
Implementation
static ZenQueryCache get queryCache => ZenQueryCache.instance;