map/index_mapping library

Functions

indexMapping<T>(List<T> list) Map<T, List<int>>
Maps each element in a list to a list of indices where it appears.