ErrorResponse class

Error response with code, message and an array of ErrorResponseError if available.

Constructors

ErrorResponse.fromJson(Map<String, dynamic> data)
Returns a ErrorResponse type from a JSON
factory

Properties

code int
ErrorResponse's code
no setter
errors List<ErrorResponseError>?
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
ErrorResponse's message
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-representation of ErrorResponse
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited