Param<T extends Base> constructor

Param<T extends Base>(
  1. String path,
  2. String param, {
  3. Base? parent,
})

Used to define a route path that requires a parameter

eg. /user/:id

Implementation

Param(
  String path,
  String param, {
  super.parent,
}) : super(
        path: path,
        param: param,
        params: {},
        queryParameters: {},
      );