preselectedGearSelections property

List<GearSelection> preselectedGearSelections

The preselected gear selections, if any.

Implementation

List<GearSelection> get preselectedGearSelections => preselect.isEmpty
    ? []
    : preselect.first == -1
        ? selections
        : selections.sublist(preselect.first, preselect.last);