reject method
Abort the chain with an error — no HTTP request is made.
Implementation
void reject(NetworkException error) {
_resolved = true;
shortCircuit = error;
}
Abort the chain with an error — no HTTP request is made.
void reject(NetworkException error) {
_resolved = true;
shortCircuit = error;
}