removePart method

void removePart(
  1. PartBuilder childBuilder
)

Removes the specified part childBuilder

Implementation

void removePart(PartBuilder childBuilder) {
  _part.parts?.remove(childBuilder._part);
  _children?.remove(childBuilder);
}