ok constant
HttpStatus
const ok
200 OK
The request succeeded.
The result meaning of "success" depends on the HTTP method:
GET
: The resource has been fetched and is transmitted in the message body.HEAD
: The representation headers are included in the response without any message body.PUT
orPOST
: The resource describing the result of the action is transmitted in the message body.TRACE
: The message body contains the request message as received by the server.
Implementation
static const ok = HttpStatus(200);