writeSelectionToPasteboard method

bool writeSelectionToPasteboard(
  1. NSPasteboard pboard, {
  2. required DartNSPasteboardType type,
})

writeSelectionToPasteboard:type:

Implementation

bool writeSelectionToPasteboard(
  NSPasteboard pboard, {
  required DartNSPasteboardType type,
}) {
  objc.checkOsVersionInternal(
    'NSTextView.writeSelectionToPasteboard:type:',
    iOS: (true, null),
  );
  return _objc_msgSend_1lsax7n(
    this.ref.pointer,
    _sel_writeSelectionToPasteboard_type_,
    pboard.ref.pointer,
    type.ref.pointer,
  );
}