call method

Dart__int64_t call(
  1. Pointer<Void> arg0,
  2. DartNSInteger arg1
)

Implementation

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