RemoveAllControlItems method Null safety

int RemoveAllControlItems(
  1. int dwIDCtl
)

Implementation

int RemoveAllControlItems(int dwIDCtl) => ptr.ref.lpVtbl.value
    .elementAt(21)
    .cast<Pointer<NativeFunction<_RemoveAllControlItems_Native>>>()
    .value
    .asFunction<_RemoveAllControlItems_Dart>()(ptr.ref.lpVtbl, dwIDCtl);