HttpMethod constructor

const HttpMethod({
  1. String path = '',
  2. List<String> methods = _methods,
  3. Map<String, String>? pathRegEx,
  4. int? statusCode,
  5. String? mimeType,
  6. String? charset,
  7. ResponseProcessor? responseProcessor,
})

Implementation

const HttpMethod(
    {this.path = '',
    this.methods = _methods,
    this.pathRegEx,
    this.statusCode,
    this.mimeType,
    this.charset,
    this.responseProcessor});