getCachedUser

fun getCachedUser(deviceId: String): User?

getCachedUser gets users saved in the cache instead of going through db read again.

Return

The User object with the specified deviceId if it exists in the cache. null otherwise.

Parameters

deviceId

The deviceId of the user to retrieve.