getDeviceCount method

int getDeviceCount(
  1. String userId
)

Gets device count for a user

Implementation

int getDeviceCount(String userId) {
  return _userDevices[userId]?.length ?? 0;
}