create method

Future<RadarrMovie> create({
  1. required RadarrMovie movie,
  2. required RadarrRootFolder rootFolder,
  3. required bool monitored,
  4. required RadarrAvailability minimumAvailability,
  5. required RadarrQualityProfile qualityProfile,
  6. List<RadarrTag>? tags,
  7. bool searchForMovie = false,
})

Handler for movie.

Adds a new movie.

Required Parameters:

Optional Parameters:

  • tags: List of RadarrTags to be assigned to the movie
  • searchForMovie Should a search for the movie be started after being added?

Implementation

Future<RadarrMovie> create({
    required RadarrMovie movie,
    required RadarrRootFolder rootFolder,
    required bool monitored,
    required RadarrAvailability minimumAvailability,
    required RadarrQualityProfile qualityProfile,
    List<RadarrTag>? tags,
    bool searchForMovie = false,
}) async => _commandAddMovie(
    _client,
    movie: movie,
    rootFolder: rootFolder,
    monitored: monitored,
    minimumAvailability: minimumAvailability,
    qualityProfile: qualityProfile,
    tags: tags,
    searchForMovie: searchForMovie,
);