setUserProperty method

void setUserProperty(
  1. String? property,
  2. String? value
)

Implementation

void setUserProperty(String? property, String? value) {
  if (property == null || value == null) return;
  _userProps[property] = value;
  _onEach((p) {
    p.setUserProperties({property: value});
  });
}