saveEpisodes method

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

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

Implementation

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