unshift function

int unshift(
  1. List list,
  2. dynamic item
)

Implementation

int unshift(List list, item) {
  list.insert(0, item);
  return list.length;
}