sendAction method
sendAction:to:from:
Implementation
bool sendAction(
ffi.Pointer<objc.ObjCSelector> action, {
objc.ObjCObjectBase? to,
objc.ObjCObjectBase? from,
}) {
objc.checkOsVersionInternal(
'NSApplication.sendAction:to:from:',
iOS: (true, null),
);
return _objc_msgSend_iv7uhk(
this.ref.pointer,
_sel_sendAction_to_from_,
action,
to?.ref.pointer ?? ffi.nullptr,
from?.ref.pointer ?? ffi.nullptr,
);
}