orEmpty property

Iterable<T> orEmpty

Creates empty Iterable if this nullable Iterable is null, otherwise returns this Iterable.

Implementation

Iterable<T> get orEmpty => this ?? const Iterable.empty();