mapList<E> method
The elements of this iterable are modified by toElement and converted iterable to list
most convenient when used with build Flutter widgets
Implementation
List<E> mapList<E>(E Function(T item) toElement, {bool growable = true}) {
return map(toElement).toList(growable: growable);
}