setUserProperty method

void setUserProperty({
  1. required String name,
  2. required String? value,
  3. AnalyticsCallOptions? callOptions,
})

Implementation

void setUserProperty({
  required String name,
  required String? value,
  AnalyticsCallOptions? callOptions,
}) {
  return analytics_interop.setUserProperties(
    jsObject,
    {name: value}.jsify(),
    callOptions?.asMap().jsify() as JSObject?,
  );
}