withTimeout method
Sets the timeout duration.
Implementation
InteractionBuilder<T> withTimeout(Duration timeout) {
_timeout = timeout;
return this;
}
Sets the timeout duration.
InteractionBuilder<T> withTimeout(Duration timeout) {
_timeout = timeout;
return this;
}