GroupPairing constructor

GroupPairing(
  1. String groupPairing, {
  2. int? valueFor,
  3. int? valueAgainst,
  4. int? valueAbstention,
})

Used by Individual Votes to make each dot react with the group overall color :

groupPairing is the String that makes the group pairing work. You can set anything : just be sure that each dot that is supposed to compare with each other have the same String.

valueFor is the nullable total of vote FOR.

valueAgainst is the nullable total of vote AGAINST.

valueAbstention is the nullable total of vote ABSTENTION (no vote).

Implementation

GroupPairing(this.groupPairing,
    {this.valueFor, this.valueAgainst, this.valueAbstention});