shouldRevalidateInBackground property

bool get shouldRevalidateInBackground

Whether this policy should revalidate in the background.

Implementation

bool get shouldRevalidateInBackground =>
    this == CachePolicy.staleWhileRevalidate;