addModule abstract method

ModularRoute addModule(
  1. String name, {
  2. required RouteContext module,
})

Create a new Route by adding a RouteContext to the context.

Implementation

ModularRoute addModule(String name, {required RouteContext module});