clearInternalSelectionStateForSelectable method

  1. @protected
void clearInternalSelectionStateForSelectable(
  1. Selectable selectable
)

Clears the internal selection state for a given Selectable.

This indicates that the given selectable has neither received a start or end SelectionEdgeUpdateEvents.

Subclasses should call this method to clean up state added in didReceiveSelectionEventFor and didReceiveSelectionBoundaryEvents.

Implementation

@protected
void clearInternalSelectionStateForSelectable(Selectable selectable) {
  _hasReceivedStartEvent.remove(selectable);
  _hasReceivedEndEvent.remove(selectable);
}