GetInt32 method Null safety

int GetInt32(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<Int32> pi
)

Implementation

int GetInt32(Pointer<PROPERTYKEY> key, Pointer<Int32> pi) =>
    ptr.ref.lpVtbl.value
        .elementAt(16)
        .cast<Pointer<NativeFunction<_GetInt32_Native>>>()
        .value
        .asFunction<_GetInt32_Dart>()(ptr.ref.lpVtbl, key, pi);