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