removeAt method
Removes the object at position index
from the list.
Listeners are notified after all objects have been repositioned.
This method reduces the length of this
by one and moves all later objects
down by one position.
Returns the removed object.
The index
must be in the range 0 ≤ index < length
.
Implementation
@override
T removeAt(int index) {
assert(_debugAssertNotDisposed());
final result = _list!.removeAt(index);
notifyListeners();
return result;
}