getUserId

Retrieve the user_id for a given connection type

static Future<UserId?> getUserId(Connection connection) async
  • Connection connection ➡ An ENUM from the Connection class signifying the connection you wish to retrieve user_id from.

returns

  • Future<UserId?>