addSessionProperty abstract method

void addSessionProperty(
  1. String key,
  2. String value, {
  3. bool permanent = false,
})

Annotates the session with a property defined by a key and value.

The key must be unique within session properties. There is a limit of 10 properties per session. If the property is permanent, it will be added to all future sessions on this device. Otherwise, the property will just be added to the current session.

Implementation

void addSessionProperty(String key, String value, {bool permanent = false});