filtered property

List<T> get filtered

Filters out _UNDEFINED values from the list.

Implementation

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