untilTrue method

Future<void> untilTrue()

Returns a Future that completes when the value of this cell is true.

If the value of this cell is already true, the Future completes immediately.

NOTE: An observer is added to this cell, and only removed when the cell's value is true. If this never happens, the observer is never removed.

Implementation

Future<void> untilTrue() async => untilValue(true);