notNullSet method Null safety

Set<V> notNullSet()

Implementation

Set<V> notNullSet() {
  return <V>{
    for (var i in this)
      if (i != null) i
  };
}