removeEpisodes method

Future<void> removeEpisodes(
  1. List<String> ids
)

Removes episodes for the current user. Requires the user-library-modify scope. ids - the ids of the episodes

Implementation

Future<void> removeEpisodes(List<String> ids) async {
  assert(ids.isNotEmpty, 'No episode ids were provided for removing');
  await _api
      ._delete('$_path/episodes?${_buildQuery({'ids': ids.join(',')})}');
}