FebuIterableExtension<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
atOrNull(
int index) → T? -
Available on Iterable<
Element at index or null, wont throw on negative numberT> , provided by the FebuIterableExtension extension -
firstWhereOrFallback(
bool condition(T), {required T fallback}) → T -
Available on Iterable<
Use firstWhere method and in case no match return fallback valueT> , provided by the FebuIterableExtension extension -
firstWhereOrNull(
bool condition(T)) → T? -
Available on Iterable<
Use firstWhere method and in case no match return nullT> , provided by the FebuIterableExtension extension -
lastWhereOrFallback(
bool condition(T), {required T fallback}) → T -
Available on Iterable<
Use lastWhere method and in case no match return fallback valueT> , provided by the FebuIterableExtension extension -
lastWhereOrNull(
bool condition(T)) → T? -
Available on Iterable<
Use lastWhere method and in case no match return nullT> , provided by the FebuIterableExtension extension -
mapToList<
E> (E transformer(T)) → List< E> -
Available on Iterable<
Use map method then call toList method all in one goT> , provided by the FebuIterableExtension extension -
whereToList(
bool condition(T)) → List< T> -
Available on Iterable<
Use where method then call toList method all in one goT> , provided by the FebuIterableExtension extension