AddressOfMember method Null safety

int AddressOfMember(
  1. int memid,
  2. int invKind,
  3. Pointer<Pointer<NativeType>> ppv
)

Implementation

int AddressOfMember(int memid, int invKind, Pointer<Pointer> ppv) => ptr
    .ref.lpVtbl.value
    .elementAt(15)
    .cast<Pointer<NativeFunction<_AddressOfMember_Native>>>()
    .value
    .asFunction<_AddressOfMember_Dart>()(ptr.ref.lpVtbl, memid, invKind, ppv);