ApiError class
Constructors
-
ApiError({required String message, required int statusCode, List<
Map< ? errors})String, dynamic> > -
const
-
ApiError.fromJson(Map<
String, dynamic> json) -
factory
- ApiError.internalError()
-
factory
Properties
Methods
-
map<
T> ({T onSuccess(Success success)?, T onError(ApiError error)?}) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited