getDeviceId static method

Future<String> getDeviceId()

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');
}