ErrorResponse class
- Inheritance
-
- Object
- ErrorObject
- ErrorResponse
Constructors
- ErrorResponse({required int code, required String message, String? data})
-
const
-
ErrorResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
copyWith(
{int? code, String? message, String? data}) → ErrorResponse -
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited