orEmpty property

List<T> get orEmpty

Implementation

List<T> get orEmpty => this?.toList() ?? <T>[];