ensureResponded method

Future<bool> ensureResponded()

Implementation

Future<bool> ensureResponded() async {
  if (_waiter != null) return await _waiter!.future;
  _waiter = Completer<bool>();
  return _waiter!.future;
}