unsubscribe method

bool unsubscribe(
  1. State<StatefulWidget> state
)

No longer a route observer

Implementation

bool unsubscribe(State state) => _stateRouteObserver.unsubscribe(state);