Returns a new list with value appended at the end.
value
static List<T> push<T>(Iterable<T> list, T value) => [...list, value];