positionOf method

ItemPosition positionOf(
  1. K key
)

Implementation

ItemPosition positionOf(K key) => _positions[key] ?? ItemPosition.middle;