orEmpty method

Iterable<E> orEmpty()

Returns this iterable (as is) if it is non-null; otherwise, returns an empty iterable.

Implementation

Iterable<E> orEmpty() => this;