getUser method

TopicSubscription? getUser(
  1. String userId
)

This is a wrapper for get function which gets a user from cache by userId

Implementation

TopicSubscription? getUser(String userId) {
  return get('user', userId);
}