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