Returns list with null values removed.
list
null
static List<T> whereNotNull<T>(Iterable<T?> list) => [ for (final v in list) if (v != null) v, ];