ApiResponseException class

Thrown to cause a different response than what the end-point would normally return.

Implemented types

Constructors

ApiResponseException({required int status, required String code, required String message})
Thrown to cause a different response than what the end-point would normally return.

Properties

code String
Расшифровка кода ошибки.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Сообщение об ошибке.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
Номер HTTP ответа.
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.
override

Operators

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