GetPropertyStoreForKeys method Null safety

int GetPropertyStoreForKeys(
  1. Pointer<PROPERTYKEY> rgKeys,
  2. int cKeys,
  3. int flags,
  4. Pointer<GUID> riid,
  5. Pointer<Pointer<NativeType>> ppv
)

Implementation

int GetPropertyStoreForKeys(Pointer<PROPERTYKEY> rgKeys, int cKeys, int flags,
        Pointer<GUID> riid, Pointer<Pointer> ppv) =>
    ptr.ref.lpVtbl.value
            .elementAt(10)
            .cast<Pointer<NativeFunction<_GetPropertyStoreForKeys_Native>>>()
            .value
            .asFunction<_GetPropertyStoreForKeys_Dart>()(
        ptr.ref.lpVtbl, rgKeys, cKeys, flags, riid, ppv);