Route constructor
const
Route({
- required String path,
- required RequestMethod method,
- required RouteCallBack handler,
Implementation
const Route(
{required this.path, required this.method, required this.handler})
: assert(path != null),
assert(method != null),
assert(handler != null);