asMap method

Future<Map<int, E>> asMap()

Refer to List.asMap.

Implementation

Future<Map<int, E>> asMap() async => (await this).asMap();