StatusCodes class Null safety

Constructors

StatusCodes()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

isClientError(int code) bool

Constants

ACCEPTED → const int
202
BAD_REQUEST → const int
400
CONFLICT → const int
409
CREATED → const int
201
FORBIDDEN → const int
403
FOUND → const int
302
GONE → const int
410
LENGTH_REQUIRED → const int
411
METHOD_NOT_ALLOWED → const int
405
MOVED_PERMANENTLY → const int
301
NO_CONTENT → const int
204
NON_AUTHORITATIVE_INFO → const int
203
NOT_ACCEPTABLE → const int
406
NOT_FOUND → const int
404
NOT_MODIFIED → const int
304
OK → const int
200
PARTIAL_CONTENT → const int
206
PAYMENT_REQUIRED → const int
402
PRECONDITION_FAILED → const int
412
PROXY_AUTHENTICATION_REQUIRED → const int
407
REQUEST_TIMEOUT → const int
408
RESET_CONTENT → const int
205
TEMPORARY_REDIRECT → const int
307
TOO_MANY_REQUESTS → const int
429
UNAUTHORIZED → const int
401