HeartCollectionList<E> extension
Equivalents for Dart methods, but remain List type when importing 'heart_types.dart'
- on
-
- List<
E>
- List<
Methods
-
filter(
bool test(E element)) → List< E> -
Available on List<
.where equivalentE> , provided by the HeartCollectionList extension -
filterIndexed(
bool test(int index, E element)) → List< E> -
Available on List<
.whereIndexed equivalentE> , provided by the HeartCollectionList extension -
filterNot(
bool test(E element)) → List< E> -
Available on List<
.whereNot equivalentE> , provided by the HeartCollectionList extension -
filterNotIndexed(
bool test(int index, E element)) → List< E> -
Available on List<
.whereNotIndexed equivalentE> , provided by the HeartCollectionList extension -
filterType<
T> () → List< T> -
Available on List<
.whereType equivalent.E> , provided by the HeartCollectionList extension -
flatMap<
T> (List< T> toElements(E element)) → List<T> -
Available on List<
.expand equivalentE> , provided by the HeartCollectionList extension -
flatMapIndexed<
R> (Iterable< R> expand(int index, E element)) → List<R> -
Available on List<
.expandIndexed equivalentE> , provided by the HeartCollectionList extension -
transform<
T> (T toElement(E e)) → List< T> -
Available on List<
.map equivalentE> , provided by the HeartCollectionList extension -
transformIndexed<
R> (R convert(int index, E element)) → List< R> -
Available on List<
.mapIndexed equivalentE> , provided by the HeartCollectionList extension