1. DomName('Window.getSelection')
  2. DocsEditable()
Selection getSelection()

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)));