shouldStopAtCache function

bool shouldStopAtCache (
  1. FetchPolicy fetchPolicy
)

Implementation

bool shouldStopAtCache(FetchPolicy fetchPolicy) =>
    fetchPolicy == FetchPolicy.cacheFirst ||
    fetchPolicy == FetchPolicy.cacheOnly;