getDeviceId static method
Get legacy device id. Recommended to use other ID instead
Implementation
static Future<String> getDeviceId() async {
if (kIsWeb) {
throw Exception('Unsupported platform');
}
return await DSInternal.platform.invokeMethod('getDeviceId');
// final info = await DeviceInfoPlugin().androidInfo;
// id = info.androidId; //UUID for Android
}