WaitForCondition constructor

const WaitForCondition(
  1. SerializableWaitCondition condition, {
  2. Duration? timeout,
})

Creates a command that waits for the given condition is met.

Implementation

const WaitForCondition(this.condition, {super.timeout});