RegisterObjectParam method Null safety

int RegisterObjectParam(
  1. Pointer<Utf16> pszKey,
  2. Pointer<NativeType> punk
)

Implementation

int RegisterObjectParam(Pointer<Utf16> pszKey, Pointer punk) =>
    Pointer<NativeFunction<_RegisterObjectParam_Native>>.fromAddress(
                ptr.ref.vtable.elementAt(9).value)
            .asFunction<_RegisterObjectParam_Dart>()(
        ptr.ref.lpVtbl, pszKey, punk);