userJoined method

void userJoined(
  1. UserJoinedData data
)

Implementation

void userJoined(UserJoinedData data) async {
  final connection = await createConnection(data);
  if (connection != null) {
    sendConnectionRequest(connection.userId!);
  }
}