waitForCondition method Null safety
- SerializableWaitCondition waitCondition,
- {Duration? timeout}
Waits until the given waitCondition
is satisfied.
Implementation
Future<void> waitForCondition(SerializableWaitCondition waitCondition, {Duration? timeout}) async {
await sendCommand(WaitForCondition(waitCondition, timeout: timeout));
}