addValue method

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

Extends or creates property named propertyName.

Extends property if propertyName already exists or adds propertyName if does not already exists. Adding propertyValue already included in the state has no effect and does not error.

Implementation

void addValue(String propertyName, String propertyValue) {
  userPropertiesAgent?.addUserPropertyValue(propertyName, propertyValue);
}