setSuperProperties static method

void setSuperProperties(
  1. Map<String, dynamic> properties, {
  2. String? appId,
})

Set the public event attribute, which will be included in every event uploaded after that. The public event properties are saved without setting them each time.

properties super properties

appId It is used in multi-instance scenarios. If there is only one instance, it is recommended not to pass

Implementation

static void setSuperProperties(Map<String, dynamic> properties,
    {String? appId}) {
  ThinkingAnalyticsAPI? instance = _getInstanceByAppId(appId);
  instance?.setSuperProperties(properties);
}