nbVoters property
int
nbVoters
calculate the number of actual voters
Implementation
int get nbVoters {
return (votedFor ?? 0) + (votedAgainst ?? 0) + (votedAbstention ?? 0);
}
calculate the number of actual voters
int get nbVoters {
return (votedFor ?? 0) + (votedAgainst ?? 0) + (votedAbstention ?? 0);
}