Failure<T> class

An AnybillResult object that represents a failed state.

Inheritance

Constructors

Failure({int? code, String? message, required AnybillErrorType type})
The state of failure when requesting data from the API.

Properties

code int?
HTTP status code as intenger.
final
hashCode int
The hash code for this object.
read-onlyinherited
message String?
Optional error message
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type AnybillErrorType
Type of error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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