badRequest constant
HttpStatus
const badRequest
400 Bad Request
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Implementation
static const badRequest = HttpStatus(400);