httpError constructor

const httpError(
  1. int statusCode, [
  2. Type? type,
  3. Type? type1,
  4. Type? type2,
  5. Type? type3,
  6. Type? type4,
  7. Type? type5,
  8. Type? type6,
  9. Type? type7,
])

Configures an HTTP error response for a cloud function.

Implementation

const httpError(
  this.statusCode, [
  this.type,
  this.type1,
  this.type2,
  this.type3,
  this.type4,
  this.type5,
  this.type6,
  this.type7,
]);