withPollInterval method

  1. @override
WaitStrategy withPollInterval(
  1. Duration interval
)
override

Sets pollInterval on this strategy and on all child strategies.

Returns this.

Implementation

@override
WaitStrategy withPollInterval(Duration interval) {
  super.withPollInterval(interval);
  for (final s in strategies) {
    s.withPollInterval(interval);
  }
  return this;
}