userId property

  1. @override
String? userId

The current user id to which the client is connected.

Returns null if the client is not connected.

Implementation

@override
String? get userId => db?.userId;