removeAt method

  1. @override
Slot? removeAt(
  1. int index
)
override

Removes the element at the given index.

Implementation

@override
Slot? removeAt(int index) {
  if (index < 0 || index >= length) {
    throw RangeError.index(index, this, 'index');
  }
  final value = this[index];
  SpineBindings.bindings.spine_array_slot_remove_at(nativePtr.cast(), index);
  return value;
}