Route constructor

Route({
  1. required List<WebRoute> routing,
  2. required WebRequest rq,
})

Creates a Route instance.

The routing parameter is required to initialize the list of routes, and the rq parameter is required for the current web request.

Implementation

Route({required this.routing, required this.rq});