dispose method

  1. @mustCallSuper
  2. @protected
void dispose ()

The route should remove its overlays and free any other resources.

This route is no longer referenced by the navigator.

Implementation

@mustCallSuper
@protected
void dispose() {
  _navigator = null;
}