getUserObject method

  1. @Deprecated('This method was used in the old streaming API and will be removed in a future version. ' 'Use streams as parameters or return type of an endpoint to resolve the authenticated user directly.')
dynamic getUserObject(
  1. Session session
)
inherited

Retrieves a custom object associated with this Endpoint and Session.

Implementation

@Deprecated(
  'This method was used in the old streaming API and will be removed in a future version. '
  'Use streams as parameters or return type of an endpoint to resolve the authenticated user directly.',
)
dynamic getUserObject(Session session) {
  return _userObjects[session];
}