How to get the selected item from ListSelect?

How to get the selected item from ListSelect?

yourList.getValue(); # 4Example :->

     ListSelect    list    = new ListSelect();

        list.addItem("Option One ");
        list.addItem("Option Tow ");
  
        list.addValueChangeListener((value)->{
            Notification.show(value.getProperty().getValue().toString());
        });

     layout.addComponent(list);