stale property

bool stale

Whether the current query is marked as stale and therefore requires a refetch.

Implementation

bool get stale {
  return _state.timeCreated
          .add(config.refetchDuration)
          .isBefore(DateTime.now()) ||
      _staleOverride;
}