Route constructor

Route({
  1. required String path,
  2. required String method,
  3. required RouteHandler handler,
  4. bool isProtected = false,
  5. MethodMirror? methodMirror,
})

Implementation

Route({
  required this.path,
  required this.method,
  required this.handler,
  this.isProtected = false,
  this.methodMirror,
});