Route constructor

Route(
  1. String method,
  2. String path
)

Implementation

Route(this.method, this.path) : super() {
  Route.counter++;
  order = counter;
}