SetControlItemState method Null safety

int SetControlItemState(
  1. int dwIDCtl,
  2. int dwIDItem,
  3. int dwState
)

Implementation

int SetControlItemState(int dwIDCtl, int dwIDItem, int dwState) =>
    ptr.ref.lpVtbl.value
            .elementAt(23)
            .cast<Pointer<NativeFunction<_SetControlItemState_Native>>>()
            .value
            .asFunction<_SetControlItemState_Dart>()(
        ptr.ref.lpVtbl, dwIDCtl, dwIDItem, dwState);