add method
Implementation
void add(String pattern, ControllerAction action) {
print('Adding route: $pattern'); // Debug print
_routes.add(Route(
RegExp(pattern), action)); // Create a RegExp object from the pattern
}
void add(String pattern, ControllerAction action) {
print('Adding route: $pattern'); // Debug print
_routes.add(Route(
RegExp(pattern), action)); // Create a RegExp object from the pattern
}