GetObject method Null safety

int GetObject(
  1. Pointer<NativeType> pmkObjectName,
  2. Pointer<Pointer<NativeType>> ppunkObject
)

Implementation

int GetObject(Pointer pmkObjectName, Pointer<Pointer> ppunkObject) =>
    ptr.ref.lpVtbl.value
            .elementAt(6)
            .cast<Pointer<NativeFunction<_GetObject_Native>>>()
            .value
            .asFunction<_GetObject_Dart>()(
        ptr.ref.lpVtbl, pmkObjectName, ppunkObject);