ErrorResponse class
Constructors
-
ErrorResponse({int? status, String? error, String? message, ImportedUserWithoutPasswordErrorResponseContent? content, String? errorType, List<
Error> ? errors, String? path}) -
ErrorResponse.fromJson(Map<
String, dynamic> json) -
factory
-
ErrorResponse.noInternet({int? status, String? error = "No Internet", String? message = "Seems like you have no internet connection. Please try again later.", ImportedUserWithoutPasswordErrorResponseContent? content, String? errorType = "NO_INTERNET", List<
Error> ? errors, String? path})
Properties
- content → ImportedUserWithoutPasswordErrorResponseContent?
-
final
- error → String?
-
final
-
errors
→ List<
Error> ? -
final
- errorType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
final
- path → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
final
Methods
-
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