sessionKey method

ClientContext sessionKey(
  1. String sessionKey
)

For Percentage rule to work Context either needs userKey or sessionKey. If userKey is not provided, sessionKey can be used instead @param sessionKey returns ClientContext

Implementation

ClientContext sessionKey(String sessionKey) {
  _attributes['session'] = [sessionKey];
  return this;
}