sendAction method
sendAction:to:from:forEvent:
Implementation
bool sendAction(
ffi.Pointer<objc.ObjCSelector> action, {
objc.ObjCObject? to,
objc.ObjCObject? from,
UIEvent? forEvent,
}) {
final _$$ref = object$.ref;
final _$$ref$1 = to?.ref;
final _$$ref$2 = from?.ref;
final _$$ref$3 = forEvent?.ref;
objc.checkOsVersionInternal('UIApplication.sendAction:to:from:forEvent:', iOS: (false, (2, 0, 0)));
return _objc_msgSend_175fj4e(
_$$ref.pointer,
_sel_sendAction_to_from_forEvent_,
action,
_$$ref$1?.pointer ?? ffi.nullptr,
_$$ref$2?.pointer ?? ffi.nullptr,
_$$ref$3?.pointer ?? ffi.nullptr,
);
}