reroute property

Map<String, bool Function()> reroute
final

Map for rerouting according to conditions.

Enter the redirect path in String and enter the condition in the callback.

If the condition is true, redirect.

Implementation

final Map<String, bool Function()> reroute;