HttpStatusCode class
Constructors
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 Properties
- Error401 ↔ int
-
getter/setter pair
- Error404 ↔ int
-
getter/setter pair
- Error500 ↔ int
-
getter/setter pair
- Error503 ↔ int
-
getter/setter pair
- ErrorDioCancel ↔ int
-
When the request is cancelled, dio will throw a error with this type.
getter/setter pair
- ErrorDioOther ↔ int
-
Default error type, Some other Error. In this case, you can use the DioError.error if it is not null.
getter/setter pair
- ErrorDioResponse ↔ int
-
When the server response, but with a incorrect status, such as 404, 503...
getter/setter pair
- ErrorTimeout ↔ int
-
It occurs when url is opened timeout/sent timeout/receiving timeout.
getter/setter pair
- ErrorTryCatch ↔ int
-
getter/setter pair
- NoNetwork ↔ int
-
getter/setter pair
- Unknow ↔ int
-
getter/setter pair