getDeviceId static method
Obtain the device ID.
appId
It is used in multi-instance scenarios. If there is only one instance, it is recommended not to pass
Implementation
static Future<String?> getDeviceId({String? appId}) async {
ThinkingAnalyticsAPI? instance = _getInstanceByAppId(appId);
return await instance?.getDeviceId();
}