take method

String? take()

Implementation

String? take() {
  final route = state;
  state = null;
  return route;
}