Returns the currently selected text.

Other resources

Source

@DomName('Window.getSelection')
@DocsEditable()
Selection getSelection() => wrap_jso(_blink.BlinkWindow.instance.getSelection_Callback_0_(unwrap_jso(this)));