append<T> static method
Implementation
static List<T> append<T>(Iterable<T>? some, T item) {
final list = [];
if (some != null) list.addAll(some);
if (item != null) list.add(item);
return List.unmodifiable(compact(list));
}