pathParams property
Path parameters
Example:
server.get('/api/quote/:index', (ctx) { // The magic!
final int index = ctx.pathParams.getInt('index', 1); // The magic!
return quotes[index + 1];
});
Implementation
final pathParams = PathParams();