HttpStatusCodes enum

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.