hasWinner property
bool
get
hasWinner
Implementation
bool get hasWinner {
if (status == MatchStatus.completed) return true;
if (scores.length >= 2 && (scores[0] != 0 || scores[1] != 0)) return true;
for (final competitor in competitors) {
if (_isWalkOver(competitor)) return true;
}
return false;
}