notNullList method Null safety

List<V> notNullList()

Implementation

List<V> notNullList() {
  return <V>[...notNull()];
}