CachedValue<T> constructor

CachedValue<T>({
  1. T? initialValue,
})

Implementation

CachedValue({T? initialValue}) {
  _value = initialValue;
  _latestUpdate = TimeStamp.now();
}