higherAssociativeSelectionValue function
Prefers a candidate with a higher selection value.
Implementation
Logic higherAssociativeSelectionValue(
{required Logic candidateValue,
required Logic selectedValue,
required int candidateIndex,
required Logic selectedIndex,
required String name}) =>
candidateValue
.gt(selectedValue)
.named('${name}_prefer_higher_$candidateIndex');