HttpException class

Implemented types
Implementers

Constructors

HttpException(String message, String prefix, {String? code, String? body, int? status})

Properties

body String?
The response body exactly as it arrived, when there was one.
final
code String?
The API's machine-readable reason, when it sent one.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The response body, or a description of the failure when there was no body.
final
prefix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
The HTTP status the API answered with, when the failure came from a response at all.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
The failure, without the response body.
override

Operators

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