deep_collection 1.0.1
deep_collection: ^1.0.1 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.

License: MIT style: effective dart Travis CI


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!

5
likes
130
pub points
71%
popularity

Extends [List], [Set] and [Map] in order to add commonly used recursive methods such as sorting, reversing, merging, finding intersections or differences.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

effective_dart

More

Packages that depend on deep_collection