GetUInt32 method Null safety

int GetUInt32(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<Uint32> pui
)

Implementation

int GetUInt32(Pointer<PROPERTYKEY> key, Pointer<Uint32> pui) =>
    ptr.ref.lpVtbl.value
        .elementAt(18)
        .cast<Pointer<NativeFunction<_GetUInt32_Native>>>()
        .value
        .asFunction<_GetUInt32_Dart>()(ptr.ref.lpVtbl, key, pui);