deleteChild method
void
deleteChild(
- RenderViewModel? parentViewModel,
- RenderViewModel? childViewModel, {
- int childIndex = -1,
Implementation
void deleteChild(RenderViewModel? parentViewModel, RenderViewModel? childViewModel,
{int childIndex = -1}) {
if (parentViewModel is GroupViewModel && childViewModel != null) {
deleteChildRecursive(parentViewModel, childViewModel, childIndex);
}
}