alwaysCache property

  1. @visibleForTesting
bool get alwaysCache

Whether the invalidated RenderObject cache should always be maintained.

If false, the cache will be dropped and tracking will stop after 500ms without a scan from the Fullstory host SDK.

Available to force cache maintenance in tests where time between scans may be longer than in production.

Implementation

@visibleForTesting
bool get alwaysCache => _alwaysCache;
  1. @visibleForTesting
set alwaysCache (bool value)

Implementation

@visibleForTesting
set alwaysCache(bool value) {
  if (value) {
    _isCaching = true;
  }
  _alwaysCache = value;
}