1. @DomName('CrossOriginConnectEvent.acceptConnection')
  2. @DocsEditable()
  3. @Experimental()
void acceptConnection(Future shouldAccept)

Source

@DomName('CrossOriginConnectEvent.acceptConnection')
@DocsEditable()
@Experimental() // untriaged
void acceptConnection(Future shouldAccept) =>
    _blink.BlinkCrossOriginConnectEvent.instance
        .acceptConnection_Callback_1_(this, shouldAccept);