GetSwitchToHWND method Null safety

int GetSwitchToHWND(
  1. Pointer<IntPtr> phwnd
)

Implementation

int GetSwitchToHWND(Pointer<IntPtr> phwnd) => ptr.ref.lpVtbl.value
    .elementAt(6)
    .cast<Pointer<NativeFunction<_GetSwitchToHWND_Native>>>()
    .value
    .asFunction<_GetSwitchToHWND_Dart>()(ptr.ref.lpVtbl, phwnd);