IterableToSetOrNullEmpty<T> extension

on

Methods

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