smartRemoveAt method
Removes the element at the specified index from the list, with behavior determined by ChangeType.
index: The index of the element to remove.- Returns: The removed element.
Implementation
T smartRemoveAt(int index) {
final removedValue = value.removeAt(index);
if (removedValue != null) {
notify();
}
return removedValue;
}