thenThrow method
Store an exception to throw when this method stub is called.
Implementation
void thenThrow(Object throwable) {
return _completeWhen((Invocation _) {
throw throwable;
});
}
Store an exception to throw when this method stub is called.
void thenThrow(Object throwable) {
return _completeWhen((Invocation _) {
throw throwable;
});
}