currentRoute property

String? currentRoute

Implementation

String? get currentRoute {
  if (_routeHistory.isEmpty) {
    return null;
  }

  return _routeHistory.last;
}