code: protected void insert(List<Widget> widgets) {
          switch (type) {
              case DETACH:
                  for (Widget widget : widgets) {
                      int index = widgets.indexOf(widget);
                      parent.insert(widget, index);
                  }
  
                  break;
              case DISPLAY:
                  widgets.forEach(widget -> widget.getElement().getStyle().setDisplay(Style.Display.BLOCK));
                  break;
          }
      }
docs: Helper method to insert the provided widgets with {@link RecycleType} defined