push<T> function

int push<T>(
  1. List<T> list,
  2. T item
)

Implementation

int push<T>(List<T> list, T item) {
  list.add(item);
  return list.length;
}