dispose method

  1. @mustCallSuper
void dispose()
@mustCallSuper, override

Disposes resources of all children and this.

Implementation

@mustCallSuper
void dispose() {
  for (var child in children) child.dispose();
  super.dispose();
}