toMap method

Map<int, E> toMap()

Implementation

Map<int, E> toMap() => toList().asMap();