verifyTorrents method Null safety

Future<void> verifyTorrents(
  1. List<int> ids
)

Verify torrents by given ids ids integer identifier list of the torrents to remove Throws TransmissionException if errors

Implementation

Future<void> verifyTorrents(List<int> ids) async {
  final results = await _dio.post('/',
      data: _Request(methodVerifyTorrent, arguments: {
        'ids': ids,
      }).toJSON());
  _checkResults(_Response.fromJSON(results.data));
}