destroy method

void destroy()

Implementation

void destroy() {
  forEach((element) {
    element.destroy();
  });
}