Implementation
@override
List<ModularRoute> get routes => [
Route.get('/', (Request request, ModularArguments arg) => Response.ok('modular get ${arg.queryParams['q'] ?? ''}')),
Route.get('/:name', (Request request, ModularArguments arg) => Response.ok('modular get wirh params ${arg.params['name']}')),
Route.post('/', (Request request, ModularArguments arg) => Response.ok('modular post ${arg.data?['name']}')),
Route.delete('/', (Request request) => Response.ok('modular delete')),
Route.put('/', (Request request) => Response.ok('modular put')),
Route.path('/', (Request request) => Response.ok('modular path')),
];