dropList<T> function
Drop first n elements.
Implementation
List<T> dropList<T>(int n, Iterable<T> l) {
if (l.isEmpty || n >= l.length) {
return [];
}
if (n <= 0) {
return l.toList();
}
return l.toList().sublist(n);
}