Expose constructor

const Expose(
  1. String path,
  2. {String method = "GET",
  3. Iterable<RequestHandler> middleware = const [],
  4. String as,
  5. List<String> allowNull = const []}
)

Implementation

const Expose(this.path,
    {this.method = "GET",
    this.middleware = const [],
    this.as,
    this.allowNull = const []});