WaitForCondition constructor Null safety
- SerializableWaitCondition condition,
- {Duration? timeout}
Creates a command that waits for the given condition is met.
The condition argument must not be null.
Implementation
const WaitForCondition(this.condition, {super.timeout})
: assert(condition != null);