removeAt method

  1. @override
Future<void> removeAt(
  1. int index
)
override

Removes the queued item at index and persists the change.

Implementation

@override

/// Removes the queued item at [index] and persists the change.
Future<void> removeAt(int index) async {
  if (index < 0 || index >= _q.length) return;
  _q.removeAt(index);
  await _persist();
}