unsetSuperProperty static method

void unsetSuperProperty(
  1. String property, {
  2. String? appId,
})

Clears a public event attribute.

property Public event attribute key to clear,Deletes a property from current 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 unsetSuperProperty(String property, {String? appId}) {
  ThinkingAnalyticsAPI? instance = _getInstanceByAppId(appId);
  instance?.unsetSuperProperty(property);
}