ControllerRoute constructor

const ControllerRoute(
  1. String method,
  2. String path,
  3. Function handler,
  4. List<DartnessParam> params,
  5. {int? httpCode,
  6. Map<String, String>? headers}
)

Implementation

const ControllerRoute(
  this.method,
  this.path,
  this.handler,
  this.params, {
  this.httpCode,
  this.headers,
});