handle method
Handles updating the selection model from MouseEvent activations.
If event
is not a MouseEvent it will not be handled. This method
does handle mouse events even if shift is not held down.
Implementation
@override
bool handle(UIEvent event, dynamic activatedValue) {
if (selection is! MultiSelectionModel || event is! MouseEvent) return false;
// The deselect label is never shown with a MultiSelectionModel, so it's
// safe to assume activatedValue is of type T at this point.
_handleClick(event, activatedValue as T);
return true;
}