ErrorResponse class
Model response for StreamChatNetworkError data
- Annotations
-
- @JsonSerializable()
Constructors
Properties
- code ↔ int?
-
The http error code
getter/setter pair
- duration ↔ String?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
The message associated to the error code
getter/setter pair
- moreInfo ↔ String?
-
A detailed message about the error
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode ↔ int?
-
The backend error code
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to json
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ErrorResponse - Create a new instance from a json