withoutFirst<T> function

List<T> withoutFirst<T>(
  1. List<T> list
)

Implementation

List<T> withoutFirst<T>(List<T> list) {
  return list.whereIndexed((index, element) => index != 0).toList();
}