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

Returns the currently selected text.

Other resources

Source

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