Forbidden<R> class
final
403 - for responses when the request was authenticated but the action is not authorized/allowed.
- Inheritance
-
- Object
- NetworkResponse<
R> - NetworkResponseFailure<
R> - Forbidden
- Available extensions
Constructors
- Forbidden({required DioException error})
-
const
Properties
- error → DioException
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Available on NetworkResponse<
Whether this NetworkResponse should be considered successfulR> , provided by the NetworkResponseX extensionno setter - 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