deep_collection 1.0.2 deep_collection: ^1.0.2 copied to clipboard
Extends [List], [Set] and [Map] in order to add commonly used recursive methods such as sorting, reversing, merging, finding intersections or differences.
DeepCollection #
Extends List
, Set
and Map
in order to add commonly used recursive methods such as searching, sorting, reversing, finding intersections or differences.
Supported operations #
List #
- Deeply sort (by values)
- Deeply reverse
Set #
- Deeply sort (by values)
- Deeply reverse
Map #
- Deeply search (by keys and values) - does not accept nested [List] or [Set]
- Deeply sort (by keys or values)
- Deeply reverse
- Deeply find intersections (by keys and values) - does not accept nested [List] or [Set]
- Deeply find differences (by keys and values) - does not accept nested [List] or [Set]
Implementation #
Visit pub.dev -> install and pub.dev -> example.
Commercial Use #
If you use this code in commercial project, please donate me via GitHub Sponsors. I do the same for packages which I use, because it ensures stable development for all of us!