HttpStatusCodes enum
Constructors
- HttpStatusCodes()
-
const
Values
- ok200 → const HttpStatusCodes
-
The request succeeded.
- created201 → const HttpStatusCodes
-
A POST method successfully created a resource. If the resource was already created by a previous execution of the same method, for example, the server returns the HTTP 200 OK status code.
- accepted202 → const HttpStatusCodes
-
The server accepted the request and will execute it later.
- noContent204 → const HttpStatusCodes
-
The server successfully executed the method but returns no response body.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
HttpStatusCodes> - A constant List of the values in this enum, in order of their declaration.