reset method

void reset(
  1. R route
)

Implementation

void reset(R route) {
  _stack
    ..clear()
    ..add(route);
  _changes.add(null);
}