addProperty method
Implementation
int addProperty(int propertyId) => (ptr.ref.vtable + 3)
.cast<
Pointer<NativeFunction<Int32 Function(Pointer, Uint32 propertyId)>>>()
.value
.asFunction<
int Function(Pointer, int propertyId)>()(ptr.ref.lpVtbl, propertyId);