Route constructor
Route({
- required String path,
- required String method,
- required RouteHandler handler,
- bool isProtected = false,
- MethodMirror? methodMirror,
Implementation
Route({
required this.path,
required this.method,
required this.handler,
this.isProtected = false,
this.methodMirror,
});