Verb constructor

const Verb(
  1. String path, {
  2. int? status,
  3. String? summary,
  4. String? description,
  5. List<String> tags = const [],
  6. List<Object> middleware = const [],
  7. String? operationId,
  8. bool deprecated = false,
  9. bool hidden = false,
})

Declares one route.

Implementation

const Verb(
  this.path, {
  this.status,
  this.summary,
  this.description,
  this.tags = const [],
  this.middleware = const [],
  this.operationId,
  this.deprecated = false,
  this.hidden = false,
});