removeTorrents method Null safety

Future<void> removeTorrents(
  1. List<int> ids,
  2. {bool deleteLocalData = false}

Remove torrents by their given ids ids integer identifier list of the torrents to remove deleteLocalData boolean to also delete local data, default false Throws TransmissionException if errors


Future<void> removeTorrents(
  List<int> ids, {
  bool deleteLocalData = false,
}) async {
  final results = await'/',
      data: _Request(methodRemoveTorrent, arguments: {
        'ids': ids,
        'delete-local-data': deleteLocalData,