setValue method

void setValue(
  1. String key,
  2. int val
)

Sets by key and val, it won't update the internal _time.

You must call finished method to apply all changes. Usually used in chain setting (Cascade).

Implementation

void setValue(String key, int val) {
  if (_values.containsKey(key)) {
    _values[key] = val;
  }
}