removeAt method

void removeAt(
  1. int index
)

Removes an item from the list

Implementation

void removeAt(int index) {
  final newVal = [...value]..removeAt(index);
  final change = GgChange(
    newValue: newVal,
    oldValue: value,
    type: GgChangeType.remove,
    index: index,
  );
  _syncAndApplyChange(change);
}