routePattern static method Null safety
- String name
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]";
}