toList<T> method
- T mapFunction(
- K key,
- V value
Function to convert the map into a List
Implementation
List<T> toList<T>(T Function(K key, V value) mapFunction) => entries.map((e) => mapFunction(e.key, e.value)).toList();
Function to convert the map into a List
List<T> toList<T>(T Function(K key, V value) mapFunction) => entries.map((e) => mapFunction(e.key, e.value)).toList();