list_ext 0.1.10
list_ext: ^0.1.10 copied to clipboard
Dart extension methods for Iterable and List. You can easily sum, count elements and many more.
Unreleased #
0.1.10 - 2020-06-24 #
- Method
containsWhere()- returnstrueif the collection contains an element that satisfy the predicate. - Method
containsAll()- returnstrueif the collection contains all elements from the given collection.
0.1.9+1 - 2020-06-01 #
- Readme updated.
0.1.9 - 2020-06-01 #
- Refactor methods arrangements.
- Refactor tests in groups.
- Getter
firstOrNull- returns the first element ornullif collection is empty.
0.1.8 - 2020-05-23 #
- Method
maxOf()- returns the max value of int or double values by elements. - Method
max()for iterables of int and double. - Method
minOf()- returns the min value of int or double values by elements. - Method
min()for iterables of int and double. - Method
reduceValue()- reduces values of elements in a collection to a single value by iteratively combining its using the provided function.
0.1.7 - 2020-05-20 #
- Fixed repository url.
- Method
tryElementAt()- returns the element at the index if exists ororElseif it is out of range.
0.1.6 - 2020-05-11 #
- Add classifier in README.
- Method
avgOf()- returns the average value of int values by elements. - Method
avgOfDouble()- returns the average value of double values by elements. - Methods
avg()for iterables of int and double.
0.1.5 - 2020-04-27 #
- Method
firstWhereOrNull()- return the first element that satisfies the given predicate ornullif no element satisfies.
0.1.4 - 2020-04-07 #
- Method
copyWithAll()- copy current list with adding all elements at the end of new list. - Method
copyWith()support null list.
0.1.3 - 2020-04-01 #
- Method
isUnorderedEquivalent()- check equality of the elements of this and other iterables without considering order.
0.1.2+1 - 2020-03-31 #
quiverdependency decreased to 2.0.0.
0.1.2 - 2020-03-31 #
- Method
joinOf()- get string value for each element and concatenates it with separator. - Method
chunks()- splits into chunks (shortcut for quiverpartition()). - Method
toMap()- createMapfrom iterable (shortcut forMap.fromIterable()). - Extensions for
Listand methodcopyWith()- copy current list with adding element at the end of it.
0.1.1 - 2020-03-27 #
- Getter
isNullOrEmpty- returnstrueif iterable isnullor empty. - Getter
isNotNullOrEmpty- returnstrueif iterable is notnulland not empty. - Remove redundant Flutter dependencies.
0.1.0 - 2020-03-27 #
- Add an example.
- Update package description.
0.0.1 - 2020-03-26 #
- Method
countWhere()- returns count of elements that satisfy the predicatetest. - Method
sumOf()- returns sum of int values by elements. - Method
sumOfDouble()- Returns sum of double values by elements. - Methods
sum()for iterables of int and double.