nominate method
Implementation
void nominate(OrderedTipState candidate) {
final oldLength = candidates.length;
candidates[candidate.id] = candidate;
if (oldLength + 1 == widget.candidateLength) {
Future<void>.delayed(Duration.zero).then((_) => raiseElection());
}
}