Iterable<E>.empty constructor Null safety

const Iterable<E>.empty()

Creates an empty iterable.

The empty iterable has no elements, and iterating it always stops immediately.

Implementation

const factory Iterable.empty() = EmptyIterable<E>;