routePattern static method
Returns a route pattern for using ManagedObjectControllers.
Returns the string "/$name/:id
", to be used as a route pattern in a Router for instances of ResourceController and subclasses.
Implementation
static String routePattern(String name) {
return "/$name/[:id]";
}