Route constructor
Route({})
path
: Relative
to root
Example:
Route(id: 'location.search',
path: 'location/search/{location}?lang={language}&&country={country}',
method: Method.get);
Implementation
Route(
{required this.id,
required this.path,
this.method = Method.get,
this.simulated});