call method

int call(
  1. NSObject arg0,
  2. NSObject arg1
)

Implementation

int call(NSObject arg0, NSObject arg1) => _id.ref.invoke
    .cast<
        ffi.NativeFunction<
            ffi.Int32 Function(
                ffi.Pointer<_ObjCBlock> block,
                ffi.Pointer<ObjCObject> arg0,
                ffi.Pointer<ObjCObject> arg1)>>()
    .asFunction<
        int Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<ObjCObject>,
            ffi.Pointer<ObjCObject>)>()(_id, arg0._id, arg1._id);