readSelectionFromPasteboard_ property

ObjCProtocolMethod<bool Function(NSPasteboard pboard)> readSelectionFromPasteboard_
final

readSelectionFromPasteboard:

Implementation

static final readSelectionFromPasteboard_ =
    objc.ObjCProtocolMethod<bool Function(NSPasteboard)>(
      _protocol_NSServicesMenuRequestor,
      _sel_readSelectionFromPasteboard_,
      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_NSServicesMenuRequestor,
        _sel_readSelectionFromPasteboard_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSPasteboard) func) =>
          ObjCBlock_bool_ffiVoid_NSPasteboard.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSPasteboard arg1) => func(arg1),
          ),
    );