setValue method

void setValue(
  1. String propertyName,
  2. String propertyValue
)

Exactly sets, or replace if any previously exists, any state for the property.

Null propertyValue clears the property state. propertyValue allows in a single string value.

Implementation

void setValue(String propertyName, String propertyValue) {
  userPropertiesAgent?.setUserPropertyValue(propertyName, propertyValue);
}