writeSelectionToPasteboard$1 method

bool writeSelectionToPasteboard$1(
  1. NSPasteboard pboard, {
  2. required NSArray types,
})

writeSelectionToPasteboard:types:

Implementation

bool writeSelectionToPasteboard$1(
  NSPasteboard pboard, {
  required objc.NSArray types,
}) {
  objc.checkOsVersionInternal(
    'NSTextView.writeSelectionToPasteboard:types:',
    iOS: (true, null),
  );
  return _objc_msgSend_1lsax7n(
    this.ref.pointer,
    _sel_writeSelectionToPasteboard_types_,
    pboard.ref.pointer,
    types.ref.pointer,
  );
}