DeepSet<E> extension

Extends Set in order to add recursion.

on

Methods

deepCopy() Set<E>
https://stackoverflow.com/questions/64594543/how-to-deep-copy-nested-list-in-dart
deepReverse() Set<E>
Returns new instance of recursively reversed Set. It reverses nested List, Set or Map (primitive collections), nested primitive collections inside nested primitive collections and so on.
deepSearchByValue<V>(bool predicate(V value)) Set
Returns new instance of recursively filtered (by value) Set.
deepSort() Set<E>
Returns new instance of Set, which is recursively sorted by values. It sorts by values nested List, Set or Map (primitive collections), nested primitive collections inside nested primitive collections and so on.