waitForValue method

Future<void> waitForValue()

Implementation

Future<void> waitForValue() async {
  while (!hasValue) {
    await Future<void>.delayed(const Duration(seconds: 1));
  }
}