updateSelection method

bool updateSelection(
  1. SelectionT? nextSelection
)

Implementation

bool updateSelection(SelectionT? nextSelection) {
  if (_selection == nextSelection) {
    return false;
  }
  _selection = nextSelection;
  return true;
}