getDeviceId method

Future<String?> getDeviceId()

Implementation

Future<String?> getDeviceId() async{
  try {
    Log('Header').i('Device ID : $_deviceId');
    if (_deviceId.isEmpty || _deviceId.isEmpty) {
      await _getHeaderData();
    }
  } catch(e) {
    Log('Header').i(e.toString());
  }
  return _deviceId;
}