clear method

  1. @override
Future<void> clear()
override

Clears the queue and persists the empty state.

Implementation

@override

/// Clears the queue and persists the empty state.
Future<void> clear() async {
  _q.clear();
  await _persist();
}