CachePolicyExtension extension

Extension methods for CachePolicy.

on

Properties

description → String

Available on CachePolicy, provided by the CachePolicyExtension extension

Human-readable description of the policy.
no setter
shouldFallbackToCache → bool

Available on CachePolicy, provided by the CachePolicyExtension extension

Whether this policy should fallback to cache on network failure.
no setter
shouldFallbackToNetwork → bool

Available on CachePolicy, provided by the CachePolicyExtension extension

Whether this policy should fallback to network on cache miss.
no setter
shouldRevalidateInBackground → bool

Available on CachePolicy, provided by the CachePolicyExtension extension

Whether this policy should revalidate in the background.
no setter
shouldTryCacheFirst → bool

Available on CachePolicy, provided by the CachePolicyExtension extension

Whether this policy should try cache first.
no setter
shouldTryNetwork → bool

Available on CachePolicy, provided by the CachePolicyExtension extension

Whether this policy should try network.
no setter