IterableToListOrNullEmpty<T> extension

on

Methods

toListOrNullEmpty() List<T>?
Iteratorの要素数が1以上の場合にListへ変換し、Emptyであればnullに変換する