call method

Implementation

ObjCBlock_ffiVoid? call(NSProgress arg0) => _id.ref.invoke
            .cast<
                ffi.NativeFunction<
                    ffi.Pointer<_ObjCBlock> Function(
                        ffi.Pointer<_ObjCBlock> block,
                        ffi.Pointer<ObjCObject> arg0)>>()
            .asFunction<ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<ObjCObject>)>()
            (_id, arg0._id)
            .address ==
        0
    ? null
    : ObjCBlock_ffiVoid._(
        _id.ref.invoke
            .cast<ffi.NativeFunction<ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<ObjCObject> arg0)>>()
            .asFunction<ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<ObjCObject>)>()(_id, arg0._id),
        _lib,
        retain: false,
        release: true);