withTimeout method

InteractionBuilder<T> withTimeout(
  1. Duration timeout
)

Sets the timeout duration.

Implementation

InteractionBuilder<T> withTimeout(Duration timeout) {
  _timeout = timeout;
  return this;
}