call method

void call(
  1. NSCachedURLResponse? arg0
)

Implementation

void call(NSCachedURLResponse? arg0) => ref.pointer.ref.invoke
    .cast<
      ffi.NativeFunction<
        ffi.Void Function(
          ffi.Pointer<objc.ObjCBlockImpl> block,
          ffi.Pointer<objc.ObjCObject> arg0,
        )
      >
    >()
    .asFunction<
      void Function(
        ffi.Pointer<objc.ObjCBlockImpl>,
        ffi.Pointer<objc.ObjCObject>,
      )
    >()(ref.pointer, arg0?.ref.pointer ?? ffi.nullptr);