waitForAbsent method Null safety

Future<void> waitForAbsent(
  1. SerializableFinder finder,
  2. {Duration? timeout}
)

Waits until finder can no longer locate the target.

Implementation

Future<void> waitForAbsent(SerializableFinder finder, { Duration? timeout }) async {
  await sendCommand(WaitForAbsent(finder, timeout: timeout));
}