add method

NySession add(
  1. String key,
  2. dynamic value
)

Add a value to the session

Implementation

NySession add(String key, dynamic value) {
  Backpack.instance.sessionUpdate(name, key, value);
  return this;
}