StatusCodes class abstract

Constructors

StatusCodes()

Properties

hashCode int
The hash code for this object.
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

Static Methods

isClientError(int code) bool

Constants

ACCEPTED → const int
BAD_REQUEST → const int
CONFLICT → const int
CREATED → const int
FORBIDDEN → const int
FOUND → const int
GONE → const int
LENGTH_REQUIRED → const int
METHOD_NOT_ALLOWED → const int
MOVED_PERMANENTLY → const int
NO_CONTENT → const int
NON_AUTHORITATIVE_INFO → const int
NOT_ACCEPTABLE → const int
NOT_FOUND → const int
NOT_MODIFIED → const int
OK → const int
PARTIAL_CONTENT → const int
PAYMENT_REQUIRED → const int
PRECONDITION_FAILED → const int
PROXY_AUTHENTICATION_REQUIRED → const int
REQUEST_TIMEOUT → const int
RESET_CONTENT → const int
TEMPORARY_REDIRECT → const int
TOO_MANY_REQUESTS → const int
UNAUTHORIZED → const int