sendAction method
Dispatch the target-action pair. This method is called repeatedly by -sendActionsForControlEvents: and is a point at which you can observe or override behavior.
Implementation
void sendAction(ffi.Pointer<objc.ObjCSelector> action, {objc.ObjCObjectBase? to, UIEvent? forEvent}) {
objc.checkOsVersionInternal('UIControl.sendAction:to:forEvent:', iOS: (false, (2, 0, 0)));
_objc_msgSend_lzbvjm(
this.ref.pointer,
_sel_sendAction_to_forEvent_,
action,
to?.ref.pointer ?? ffi.nullptr,
forEvent?.ref.pointer ?? ffi.nullptr,
);
}