drop function

List drop(
  1. List array, [
  2. int n = 1
])

Implementation

List drop(List array, [int n = 1]) {
  return array.skip(n).toList();
}