dragOperationForDraggingInfo method

NSDragOperation dragOperationForDraggingInfo(
  1. NSDraggingInfo dragInfo, {
  2. required DartNSPasteboardType type,
})

dragOperationForDraggingInfo:type:

Implementation

NSDragOperation dragOperationForDraggingInfo(
  NSDraggingInfo dragInfo, {
  required DartNSPasteboardType type,
}) {
  objc.checkOsVersionInternal(
    'NSTextView.dragOperationForDraggingInfo:type:',
    iOS: (true, null),
  );
  final _ret = _objc_msgSend_119t45j(
    this.ref.pointer,
    _sel_dragOperationForDraggingInfo_type_,
    dragInfo.ref.pointer,
    type.ref.pointer,
  );
  return NSDragOperation.fromValue(_ret);
}