removeFirst method Null safety
Removes and returns the first object in this list.
The list must be growable and non-empty.
Implementation
T removeFirst() {
assert(isNotEmpty);
final _first = first;
removeAt(0);
return _first;
}
Removes and returns the first object in this list.
The list must be growable and non-empty.
T removeFirst() {
assert(isNotEmpty);
final _first = first;
removeAt(0);
return _first;
}