what is the replacement for accordion.setSelectedTab(index) class in vaadin

I am working vaadin 14 upgrade from vaadin 8. I just want to know the replacement for accordion.setSelectedTab(index) method in vaadin 14 Flow.

Please advise / suggest the possible alternate for accordion.setSelectedTab(index) in vaadin 14 .