drawerShouldClose_ property

ObjCProtocolMethod<bool Function(NSDrawer)> drawerShouldClose_
final

drawerShouldClose:

Implementation

static final drawerShouldClose_ =
    objc.ObjCProtocolMethod<bool Function(NSDrawer)>(
      _protocol_NSDrawerDelegate,
      _sel_drawerShouldClose_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_3su7tt)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSDrawerDelegate,
        _sel_drawerShouldClose_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSDrawer) func) =>
          ObjCBlock_bool_ffiVoid_NSDrawer.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSDrawer arg1) => func(arg1),
          ),
    );