refreshInteractionReferences method

void refreshInteractionReferences(
  1. Set<Key> currentKeys
)

Implementation

void refreshInteractionReferences(Set<Key> currentKeys) {
  activeKeys.retainWhere(currentKeys.contains);
  hoveredKeys.retainWhere(currentKeys.contains);
  longPressedKeys.retainWhere(currentKeys.contains);
}