userNotificationCenter_shouldPresentNotification_ property

ObjCProtocolMethod<bool Function(NSUserNotificationCenter, NSUserNotification)> userNotificationCenter_shouldPresentNotification_
final

userNotificationCenter:shouldPresentNotification:

Implementation

static final userNotificationCenter_shouldPresentNotification_ =
    objc.ObjCProtocolMethod<
      bool Function(NSUserNotificationCenter, NSUserNotification)
    >(
      _protocol_NSUserNotificationCenterDelegate,
      _sel_userNotificationCenter_shouldPresentNotification_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSStoryboardSegueIdentifier,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_2n06mv)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSUserNotificationCenterDelegate,
        _sel_userNotificationCenter_shouldPresentNotification_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSUserNotificationCenter, NSUserNotification) func) =>
          ObjCBlock_bool_ffiVoid_NSUserNotificationCenter_NSUserNotification.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSUserNotificationCenter arg1,
              NSUserNotification arg2,
            ) => func(arg1, arg2),
          ),
    );