ResponseCode enum
Values
- success → const ResponseCode
-
const ResponseCode(200) - created → const ResponseCode
-
const ResponseCode(201) - noContent → const ResponseCode
-
const ResponseCode(204) - badRequest → const ResponseCode
-
const ResponseCode(400) -
const ResponseCode(401) - forbidden → const ResponseCode
-
const ResponseCode(403) - notFound → const ResponseCode
-
const ResponseCode(404) - requestTimeout → const ResponseCode
-
const ResponseCode(408) - conflict → const ResponseCode
-
const ResponseCode(409) - unprocessableEntity → const ResponseCode
-
const ResponseCode(422) - tooManyRequests → const ResponseCode
-
const ResponseCode(429) - internalServerError → const ResponseCode
-
const ResponseCode(500) - badGateway → const ResponseCode
-
const ResponseCode(502) - serviceNotAvailable → const ResponseCode
-
const ResponseCode(503) - connectTimeout → const ResponseCode
-
const ResponseCode(-1) - cancel → const ResponseCode
-
const ResponseCode(-2) - receiveTimeout → const ResponseCode
-
const ResponseCode(-3) - sendTimeout → const ResponseCode
-
const ResponseCode(-4) - cacheError → const ResponseCode
-
const ResponseCode(-5) - noInternetConnection → const ResponseCode
-
const ResponseCode(-6) - defaultError → const ResponseCode
-
const ResponseCode(-7) - connectionFailure → const ResponseCode
-
const ResponseCode(-8)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
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<
ResponseCode> - A constant List of the values in this enum, in order of their declaration.