call method

void call(
  1. Pointer<Void> arg0,
  2. NSRange arg1,
  3. NSAttributedString arg2
)

Implementation

void call(
  ffi.Pointer<ffi.Void> arg0,
  NSRange arg1,
  NSAttributedString arg2,
) => ref.pointer.ref.invoke
    .cast<
      ffi.NativeFunction<
        ffi.Void Function(
          ffi.Pointer<objc.ObjCBlockImpl> block,
          ffi.Pointer<ffi.Void> arg0,
          NSRange arg1,
          ffi.Pointer<objc.ObjCObject> arg2,
        )
      >
    >()
    .asFunction<
      void Function(
        ffi.Pointer<objc.ObjCBlockImpl>,
        ffi.Pointer<ffi.Void>,
        NSRange,
        ffi.Pointer<objc.ObjCObject>,
      )
    >()(ref.pointer, arg0, arg1, arg2.ref.pointer);