RemoveControlItem method Null safety

int RemoveControlItem(
  1. int dwIDCtl,
  2. int dwIDItem
)

Implementation

int RemoveControlItem(int dwIDCtl, int dwIDItem) => ptr.ref.lpVtbl.value
    .elementAt(20)
    .cast<Pointer<NativeFunction<_RemoveControlItem_Native>>>()
    .value
    .asFunction<_RemoveControlItem_Dart>()(ptr.ref.lpVtbl, dwIDCtl, dwIDItem);