dynamic status(int code)

Sets the status code to be sent with this response.

Source

status(int code) {
  underlyingResponse.statusCode = code;
}