SetCheckButtonState method Null safety

int SetCheckButtonState(
  1. int dwIDCtl,
  2. int bChecked
)

Implementation

int SetCheckButtonState(int dwIDCtl, int bChecked) => ptr.ref.lpVtbl.value
        .elementAt(18)
        .cast<Pointer<NativeFunction<_SetCheckButtonState_Native>>>()
        .value
        .asFunction<_SetCheckButtonState_Dart>()(
    ptr.ref.lpVtbl, dwIDCtl, bChecked);