indexOf method

int? indexOf(
  1. Key itemKey
)

Returns the index of an item based on its key.

Returns null if the item key is not found in the permutations.

Implementation

int? indexOf(Key itemKey) => _indexByItemKey[itemKey];