iterable_extensions 1.1.0
iterable_extensions: ^1.1.0 copied to clipboard
A comprehensive collection of useful extension methods for Dart's Iterable class, providing null-safe operations, collection utilities, and functional programming helpers.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2025-08-25 #
Added #
- New extension method
indexOfOrNull(value)
Returns the index of the first occurrence of a given value in the iterable, ornull
if the value is not found.
1.0.0 - 2025-08-23 #
Added #
- Initial release of iterable_extensions package
- Null-safe extension methods:
firstWhereOrNull()
lastWhereOrNull()
singleWhereOrNull()
firstOrNull
getterlastOrNull
gettersingleOrNull
getterelementAtOrNull()
- Collection utility methods:
groupBy()
distinctBy()
anddistinct
getterchunked()
reversed
getter+
operator for concatenation
- Functional programming helpers:
all()
method (alias forevery()
)none()
methodforEachIndexed()
indexed
getter
- Mathematical operations:
sum()
andsumOrNull
getteraverage
getterminOrNull
andmaxOrNull
gettersminByOrNull()
andmaxByOrNull()
- Comprehensive documentation with usage examples
- Full test coverage
- Example project demonstrating usage
Changed #
- N/A (initial release)
Deprecated #
- N/A (initial release)
Removed #
- N/A (initial release)
Fixed #
- N/A (initial release)
Security #
- N/A (initial release)