Map for rerouting according to conditions.
Enter the redirect path in String and enter the condition in the callback.
String
If the condition is true, redirect.
final Map<String, bool Function()> reroute;