fromNull method

List<T> fromNull()

Implementation

List<T> fromNull() {
  List<T> vals = [];
  forEach((e) {
    if (e != null) {
      vals.add(e);
    }
  });
  return vals;
}