fallstrick_routing 0.0.2 copy "fallstrick_routing: ^0.0.2" to clipboard
fallstrick_routing: ^0.0.2 copied to clipboard

Code for Fallstrick application routing

example/fallstrick_routing_example.dart

import 'package:fallstrick_routing/fallstrick_routing.dart';

@RequestMapping(path: '/example')
class ExampleController {
  @RequestMapping(path: 'heollword', method: 'GET')
  String helloWorld() {
    return 'helloWorld';
  }

  @Post(path: 'heollword2')
  String helloWorld2() {
    return 'helloWorld2';
  }

  @Put(path: 'heollword')
  String helloWorld3() {
    return 'helloWorld3';
  }

  @Delete(path: 'heollword')
  String helloWorld4() {
    return 'helloWorld4';
  }
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Code for Fallstrick application routing

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on fallstrick_routing