groupChoice property
bool?
get
groupChoice
groupChoice is the boolean that describe group choice :
Implementation
bool? get groupChoice {
if ((valueAgainst ?? 0) > (valueFor ?? 0) + (valueAbstention ?? 0)) {
return false;
} else if ((valueFor ?? 0) > (valueAgainst ?? 0) + (valueAbstention ?? 0)) {
return true;
} else {
return null;
}
}