Invoke method Null safety

int Invoke(
  1. Pointer<NativeType> pvInstance,
  2. int memid,
  3. int wFlags,
  4. Pointer<DISPPARAMS> pDispParams,
  5. Pointer<VARIANT> pVarResult,
  6. Pointer<EXCEPINFO> pExcepInfo,
  7. Pointer<Uint32> puArgErr
)

Implementation

int Invoke(
        Pointer pvInstance,
        int memid,
        int wFlags,
        Pointer<DISPPARAMS> pDispParams,
        Pointer<VARIANT> pVarResult,
        Pointer<EXCEPINFO> pExcepInfo,
        Pointer<Uint32> puArgErr) =>
    ptr.ref.lpVtbl.value
            .elementAt(11)
            .cast<Pointer<NativeFunction<_Invoke_Native>>>()
            .value
            .asFunction<_Invoke_Dart>()(ptr.ref.lpVtbl, pvInstance, memid,
        wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);