userDelete static method

void userDelete({
  1. String? appId,
})

Delete the user attributes, but retain the uploaded event data. This operation is not reversible and should be performed with caution.

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

Implementation

static void userDelete({String? appId}) {
  ThinkingAnalyticsAPI? instance = _getInstanceByAppId(appId);
  instance?.userDelete();
}