get method

  1. @Get('/:id')
Future<Map<String, dynamic>> get(
  1. RequestContext ctx
)

Implementation

@Get('/:id')
Future<Map<String, dynamic>> get(RequestContext ctx) async => {'id': ctx.param('id')};