value property

T get value

Current state value.

Implementation

T get value => _value;
set value (T newValue)

Updates the value and records timing metadata for stale UI detection.

Implementation

set value(T newValue) {
  _value = newValue;
  lastUpdated = DateTime.now();
  updateCount += 1;

  StateChangeTracker.registerStateChange(
    tag: tag,
    lastUpdated: lastUpdated,
    updateCount: updateCount,
    description: description,
  );

  UIUpdateDetector.scheduleStateUpdate(
    tag: tag,
    updateTime: lastUpdated,
  );
}