StateEntry constructor
StateEntry(
- String key,
- dynamic value
Creates a new instance of the state entry and assigns its values.
key
a unique key to locate the value.value
a value to be stored.
Implementation
StateEntry(String key, value)
: _key = key,
_value = value,
_lastUpdateTime = DateTime.now().millisecondsSinceEpoch;