all method

void all(
  1. String path,
  2. Handler handler, {
  3. List<Guard> guards = const [],
})

Implementation

void all(
  String path,
  Handler handler, {
  List<Guard> guards = const [],
}) {
  _endpoints.add(EndPoint(
    path: path,
    method: 'ALL',
    handler: handler,
    guards: guards,
  ));
}