AsklessResponse class

Result of request attempt to the server.

Implementers

Constructors

AsklessResponse({dynamic output, AsklessError? error})

Properties

error ↔ AsklessError?
Error details in case where success == false
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
output ↔ dynamic
The output the server sent, or null.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
Indicates whether the request attempt is a success
no setter

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