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