call method

NSView call(
  1. Pointer<Void> arg0,
  2. DartNSUInteger arg1,
  3. NSRangePointer arg2
)

Implementation

NSView call(
  ffi.Pointer<ffi.Void> arg0,
  DartNSUInteger arg1,
  NSRangePointer arg2,
) => NSView.castFromPointer(
  ref.pointer.ref.invoke
      .cast<
        ffi.NativeFunction<
          ffi.Pointer<objc.ObjCObject> Function(
            ffi.Pointer<objc.ObjCBlockImpl> block,
            ffi.Pointer<ffi.Void> arg0,
            NSUInteger arg1,
            NSRangePointer arg2,
          )
        >
      >()
      .asFunction<
        ffi.Pointer<objc.ObjCObject> Function(
          ffi.Pointer<objc.ObjCBlockImpl>,
          ffi.Pointer<ffi.Void>,
          int,
          NSRangePointer,
        )
      >()(ref.pointer, arg0, arg1, arg2),
  retain: true,
  release: true,
);