Future<int?> readId() async { var id = await _readIdNoBlock(); while (id == null) { id = await _readIdNoBlock(); } return id; }