filtered property

List<T> get filtered

Filters out the UNDEFINED value.

Implementation

List<T> get filtered => [
  for (final value in this)
    if (value.value != 0)
      value,
];