logout static method
Clearing the account ID will not upload user logout events.
appId
It is used in multi-instance scenarios. If there is only one instance, it is recommended not to pass
Implementation
static Future<void> logout({String? appId}) async {
ThinkingAnalyticsAPI? instance = _getInstanceByAppId(appId);
await instance?.logout();
}