Route constructor

Route({
  1. String? host,
  2. String? id,
  3. List<String> middlewares = const [],
  4. String? pathPrefix,
  5. int? priority,
  6. String? service,
  7. bool? tls,
})

Returns a new Route instance.

Implementation

Route({
  this.host,
  this.id,
  this.middlewares = const [],
  this.pathPrefix,
  this.priority,
  this.service,
  this.tls,
});