SetControlState method Null safety

int SetControlState(
  1. int dwIDCtl,
  2. int dwState
)

Implementation

int SetControlState(int dwIDCtl, int dwState) => ptr.ref.lpVtbl.value
    .elementAt(14)
    .cast<Pointer<NativeFunction<_SetControlState_Native>>>()
    .value
    .asFunction<_SetControlState_Dart>()(ptr.ref.lpVtbl, dwIDCtl, dwState);