inits property

Set<Set<E>> get inits

Returns a nested iterable by adding one element at a time, starting from the beginning.

1, 2, 3.inits returns [[], 1, 1, 2, 1, 2, 3].

[].inits returns [].

Implementation

Set<Set<E>> get inits => h.inits(this).toNestedSet();