namesOfPromisedFilesDroppedAtDestination method

NSArray? namesOfPromisedFilesDroppedAtDestination(
  1. NSURL dropDestination
)

namesOfPromisedFilesDroppedAtDestination:

Implementation

objc.NSArray? namesOfPromisedFilesDroppedAtDestination(
  objc.NSURL dropDestination,
) {
  objc.checkOsVersionInternal(
    'NSObject.namesOfPromisedFilesDroppedAtDestination:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.pointer,
    _sel_namesOfPromisedFilesDroppedAtDestination_,
    dropDestination.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}