attr method

ClientContext attr(
  1. String key,
  2. String value
)

Allows to set Custom context attribute when using rollout strategy with Custom rule. @param key Name of the Custom rule @param value Value of the Custom rule returns ClientContext

Implementation

ClientContext attr(String key, String value) {
  _attributes[key] = [value];
  return this;
}