toIterable method

Iterable<R> toIterable()

Implementation

Iterable<R> toIterable() => fold((_) => const Iterable.empty(), (r) => new _SingletonIterable(r));