getDeviceId method

Future<String?> getDeviceId()

Implementation

Future<String?> getDeviceId() async {
  try {
    return await AppSetId().getIdentifier();
  } catch (e) {
    return null;
  }
}