addModule method
Create a new Route by adding a RouteContext to the context.
Implementation
@override
Route addModule(String name, {required Module module}) {
final innerModules = {module.runtimeType: module};
return copyWith(
name: name,
uri: Uri.parse(name),
innerModules: innerModules,
module: module,
);
}