HttpCode class

Constructors

HttpCode(String? code, String? message)
HttpCode.dioError(DioError error)

Properties

code String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pair
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.
override

Operators

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

Constants

BAD_GATEWAY → const int
CANCEL → const String
CONNECT_TIMEOUT → const String
FORBIDDEN → const int
GATEWAY_TIMEOUT → const int
HTTP_ERROR → const String
INTERNAL_SERVER_ERROR → const int
NETWORK_ERROR → const String
NOT_FOUND → const int
PARSE_ERROR → const String
RECEIVE_TIMEOUT → const String
REQUEST_TIMEOUT → const int
SEND_TIMEOUT → const String
SERVICE_UNAVAILABLE → const int
SSL_ERROR → const String
SUCCESS → const int
http success
UNAUTHORIZED → const int
http error
UNKNOWN → const String
http error message