setUserId method

void setUserId({
  1. String? id,
  2. AnalyticsCallOptions? callOptions,
})

Implementation

void setUserId({
  String? id,
  AnalyticsCallOptions? callOptions,
}) {
  return analytics_interop.setUserId(
    jsObject,
    id?.toJS,
    callOptions?.asMap().jsify() as JSObject?,
  );
}