Expose.method constructor

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

Implementation

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