getSessionProperty static method

dynamic getSessionProperty(
  1. String key
)

Get a custom property value by key.

Returns null if the property doesn't exist.

Example:

final userId = Pulse.getSessionProperty('userId');

Implementation

static dynamic getSessionProperty(String key) {
  return _properties[key];
}