endNavigating method

void endNavigating(
  1. int token
)

Close the gate, but only if token is the current hold.

Implementation

void endNavigating(int token) {
  _navToken = token;
  NavigationGate.instance.end(token);
}