userKey method

ClientContext userKey(
  1. String userkey
)

Allows to set User Key context when using rollout strategy with User Key rule. userKey can be anything that identifies your user, e.g userId, email, etc. @param userKey returns ClientContext

Implementation

ClientContext userKey(String userkey) {
  _attributes['userkey'] = [userkey];
  return this;
}