GetBool method Null safety

int GetBool(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<Int32> pf
)

Implementation

int GetBool(Pointer<PROPERTYKEY> key, Pointer<Int32> pf) =>
    ptr.ref.lpVtbl.value
        .elementAt(20)
        .cast<Pointer<NativeFunction<_GetBool_Native>>>()
        .value
        .asFunction<_GetBool_Dart>()(ptr.ref.lpVtbl, key, pf);