check method
Looks at the phone at most every few seconds and taps Allow on the local network prompt when it is up.
Implementation
Future<void> check() async {
if (answered != null || DateTime.now().isBefore(_next)) return;
_next = DateTime.now().add(_every);
answered = await answerPhonePrompt(_hid, udid, question: _question, button: 'Allow');
}