hardRemoveAt method

T hardRemoveAt(
  1. int index
)

Removes the element at the specified index from the list and notifies listeners.

  • index: The index of the element to remove.
  • Returns: The removed element.

Implementation

T hardRemoveAt(int index) {
  final removedValue = value.removeAt(index);
  notify();
  return removedValue;
}