call method

Implementation

NSFontPanelModeMask call(ffi.Pointer<ffi.Void> arg0, NSFontPanel arg1) =>
    NSFontPanelModeMask.fromValue(
      ref.pointer.ref.invoke
          .cast<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCBlockImpl> block,
                ffi.Pointer<ffi.Void> arg0,
                ffi.Pointer<objc.ObjCObject> arg1,
              )
            >
          >()
          .asFunction<
            int Function(
              ffi.Pointer<objc.ObjCBlockImpl>,
              ffi.Pointer<ffi.Void>,
              ffi.Pointer<objc.ObjCObject>,
            )
          >()(ref.pointer, arg0, arg1.ref.pointer),
    );