Signature for shouldRefresh on Fresh.
shouldRefresh
typedef ShouldRefresh = bool Function(Response? response);