on abstract method

Route on(
  1. String path,
  2. T handler, {
  3. Iterable<T> middleware,
})

Identical to all.

Implementation

Route on(String path, T handler, {Iterable<T> middleware});