call method

NSComparisonResult call(
  1. ObjCObjectBase arg0,
  2. ObjCObjectBase arg1
)

Implementation

objc.NSComparisonResult call(
  objc.ObjCObjectBase arg0,
  objc.ObjCObjectBase arg1,
) => objc.NSComparisonResult.fromValue(
  ref.pointer.ref.invoke
      .cast<
        ffi.NativeFunction<
          NSInteger Function(
            ffi.Pointer<objc.ObjCBlockImpl> block,
            ffi.Pointer<objc.ObjCObject> arg0,
            ffi.Pointer<objc.ObjCObject> arg1,
          )
        >
      >()
      .asFunction<
        int Function(
          ffi.Pointer<objc.ObjCBlockImpl>,
          ffi.Pointer<objc.ObjCObject>,
          ffi.Pointer<objc.ObjCObject>,
        )
      >()(ref.pointer, arg0.ref.pointer, arg1.ref.pointer),
);