ControllerRoute constructor

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

Implementation

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