shouldRespondEagerlyFromCache function

bool shouldRespondEagerlyFromCache(
  1. FetchPolicy? fetchPolicy
)

Implementation

bool shouldRespondEagerlyFromCache(FetchPolicy? fetchPolicy) =>
    fetchPolicy == FetchPolicy.cacheFirst ||
    fetchPolicy == FetchPolicy.cacheAndNetwork ||
    fetchPolicy == FetchPolicy.cacheOnly;