Routes constructor

const Routes(
  1. String path, {
  2. String? name,
  3. List<String> tags = const [],
  4. List<Object> middleware = const [],
})

Declares a route module rooted at path.

Implementation

const Routes(
  this.path, {
  this.name,
  this.tags = const [],
  this.middleware = const [],
});