targetForAction$1 method
ObjCObjectBase?
targetForAction$1(
- Pointer<
ObjCSelector> action, { - ObjCObjectBase? to,
- ObjCObjectBase? from,
targetForAction:to:from:
Implementation
objc.ObjCObjectBase? targetForAction$1(
ffi.Pointer<objc.ObjCSelector> action, {
objc.ObjCObjectBase? to,
objc.ObjCObjectBase? from,
}) {
objc.checkOsVersionInternal(
'NSApplication.targetForAction:to:from:',
iOS: (true, null),
);
final _ret = _objc_msgSend_cfx8ce(
this.ref.pointer,
_sel_targetForAction_to_from_,
action,
to?.ref.pointer ?? ffi.nullptr,
from?.ref.pointer ?? ffi.nullptr,
);
return _ret.address == 0
? null
: objc.ObjCObjectBase(_ret, retain: true, release: true);
}