AddRef method Null safety

int AddRef()

Implementation

int AddRef() => Pointer<NativeFunction<_AddRef_Native>>.fromAddress(
        ptr.ref.vtable.elementAt(1).value)
    .asFunction<_AddRef_Dart>()(ptr.ref.lpVtbl);