RegisterObjectBound method Null safety

int RegisterObjectBound(
  1. Pointer<NativeType> punk
)

Implementation

int RegisterObjectBound(Pointer punk) =>
    Pointer<NativeFunction<_RegisterObjectBound_Native>>.fromAddress(
            ptr.ref.vtable.elementAt(3).value)
        .asFunction<_RegisterObjectBound_Dart>()(ptr.ref.lpVtbl, punk);