ServerErrorException.withHTTPInfo constructor

ServerErrorException.withHTTPInfo(
  1. int? status,
  2. HttpHeaders headers
)

Implementation

ServerErrorException.withHTTPInfo(this.status, io.HttpHeaders headers) {
  this.headers = {};
  headers.forEach((name, values) {
    this.headers![name] = values;
  });
}