TrackedState<T> constructor
Implementation
TrackedState(
T initialValue, {
String? tag,
this.description,
}) : _value = initialValue,
tag = tag ?? 'TrackedState#${_nextId++}',
lastUpdated = DateTime.now() {
StateChangeTracker.registerStateChange(
tag: this.tag,
lastUpdated: lastUpdated,
updateCount: updateCount,
description: description,
);
}