Route constructor
Route({})
Implementation
Route({
required this.method,
required this.path,
this.middleware = const [],
this.callback,
}) : stack = [...middleware, if (callback != null) callback],
matcher = _matcher(path);