undeleteLibrary method

Future<void> undeleteLibrary({
  1. required int sectionId,
  2. required String sectionName,
})

Handler for undelete_library.

Restore a deleted library section to Tautulli.

Required Parameters:

  • sectionId: The ID of the Plex library section
  • sectionName: The name of the Plex library section

Implementation

Future<void> undeleteLibrary({
    required int sectionId,
    required String sectionName,
}) async => _commandUndeleteLibrary(_client, sectionId: sectionId, sectionName: sectionName);