expectNotVisited method
Implementation
void expectNotVisited(String screenName) {
final flow = _navigationFlow.flow;
if (flow.contains(screenName)) {
throw EnsembleTestFailure(
'Expected screen "$screenName" not to be visited.',
);
}
}