ErrorResponse class Null safety

Model response for StreamChatNetworkError data

Annotations

Constructors

ErrorResponse()

Properties

code int?
The http error code
read / write
duration String?
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
message String?
The message associated to the error code
read / write
moreInfo String?
A detailed message about the error
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int?
The backend error code
@JsonKey(name: 'StatusCode'), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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