GetFuncDesc method Null safety

int GetFuncDesc(
  1. int index,
  2. Pointer<Pointer<FUNCDESC>> ppFuncDesc
)

Implementation

int GetFuncDesc(int index, Pointer<Pointer<FUNCDESC>> ppFuncDesc) =>
    ptr.ref.lpVtbl.value
        .elementAt(5)
        .cast<Pointer<NativeFunction<_GetFuncDesc_Native>>>()
        .value
        .asFunction<_GetFuncDesc_Dart>()(ptr.ref.lpVtbl, index, ppFuncDesc);