NetworkError class
- Annotations
-
- @freezed
Constructors
- NetworkError.badRequest()
-
constfactory
-
NetworkError.badRequestListErrors(List<
String> listErrors) -
constfactory
- NetworkError.conflict()
-
constfactory
- NetworkError.defaultError(String error)
-
constfactory
- NetworkError.forbidden()
-
constfactory
- NetworkError.formatException()
-
constfactory
- NetworkError.infoNotMatching()
-
constfactory
- NetworkError.internalServerError()
-
constfactory
- NetworkError.methodNotAllowed()
-
constfactory
- NetworkError.mockNotFoundError()
-
constfactory
- NetworkError.noInternetConnection()
-
constfactory
- NetworkError.notAcceptable()
-
constfactory
- NetworkError.notFound(String reason)
-
constfactory
- NetworkError.notImplemented()
-
constfactory
- NetworkError.requestCancelled()
-
constfactory
- NetworkError.requestTimeout()
-
constfactory
- NetworkError.sendTimeout()
-
constfactory
-
constfactory
- NetworkError.unableToProcess()
-
constfactory
-
constfactory
- NetworkError.unexpectedError()
-
constfactory
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
-
fromException(
dynamic error) → NetworkError