currentRoute property

String? currentRoute

Implementation

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

  return routeHistory.last;
}