dispose method

  1. @mustCallSuper
void dispose()

Releases resources.

Implementation

@mustCallSuper
void dispose() {
  assert(debugMaybeDispatchDisposed(this));
  for (final _HeroFlight flight in _flights.values) {
    flight.dispose();
  }
}