onGeneratePath method
Generates a path for a route with the provided name
routes with defined path will use the defined path and will not use this method
routes marked with initial
will use either '/' or an empty string
for such routes
use isRoot
to determine if the route needs to start with '/'
Implementation
String onGeneratePath(AutoRoute route) {
return RouteCollection.defaultPathGenerator(route);
}