getMyDeviceId method

Future getMyDeviceId()

Return the current logged user ID with device id

Implementation

Future getMyDeviceId() async {
  return await wpClient.evaluateJs(
    '''window.WPP.conn.getMyDeviceId();''',
    methodName: "getMyDeviceId",
  );
}