getDeviceId method

  1. @override
Future<String?> getDeviceId()
override

Retrieves the unique device ID.

This function returns a unique identifier for the device. The method of obtaining the device ID may vary based on the platform (Android, Linux, etc.).

Implementation

@override
Future<String?> getDeviceId() async {
  return await ThanPkg.linux.app.getDeviceId();
}