paste method

void paste(
  1. String text
)

Dispatches a bracketed PasteEvent — the whole blob at once, as a real paste arrives (so embedded newlines don't act as Enter).

Implementation

void paste(String text) {
  _assertNotDisposed('paste');
  _openFrame();
  _dispatcher.dispatch(PasteEvent(text));
  _owner.flushBuild();
}