RequestError class
- Inheritance
-
- Object
- RequestState
- RequestError
Constructors
- RequestError(ApiError? error)
- RequestError.fromCode(String message, {int? statusCode, dynamic rawError})
-
factory
- RequestError.fromException(dynamic exception)
-
factory
Properties
- error → ApiError?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAuthError → bool
-
no setter
- isClientError → bool
-
no setter
- isNetworkError → bool
-
no setter
- isServerError → bool
-
no setter
- message → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
no setter
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