GetProperty method Null safety

int GetProperty(
  1. Pointer<PROPERTYKEY> key,
  2. Pointer<PROPVARIANT> ppropvar
)

Implementation

int GetProperty(Pointer<PROPERTYKEY> key, Pointer<PROPVARIANT> ppropvar) =>
    ptr.ref.lpVtbl.value
        .elementAt(13)
        .cast<Pointer<NativeFunction<_GetProperty_Native>>>()
        .value
        .asFunction<_GetProperty_Dart>()(ptr.ref.lpVtbl, key, ppropvar);