sessionUpdate method

dynamic sessionUpdate(
  1. String name,
  2. String key,
  3. dynamic value
)

Update the session with a key and value.

Implementation

sessionUpdate(String name, String key, dynamic value) {
  if (!_values.containsKey(name)) {
    _values[name] = {};
  }
  _values[name][key] = value;
}