tail function Null safety
- List array
Gets all but the first element of array.
Implementation
List tail(List array) {
return array.skip(1).toList();
}
Gets all but the first element of array.
List tail(List array) {
return array.skip(1).toList();
}