isSelected method

bool isSelected(
  1. K key
)

Implementation

bool isSelected(K key) => selectedKeys.contains(key);