torrentGet abstract method

Future<TorrentGetResponse> torrentGet(
  1. List<TorrentGetArgument> fields, {
  2. TorrentIds<TorrentId>? ids,
  3. RpcTag? tag,
  4. int? timeout,
})

Get torrents info. more info see: torrent-get

leave ids null or use TorrentIds.empty apply for all torrents;

If ids are set to TorrentIds.recently, then response set TorrentGetResponseParam.removed with only the 'id' field of recently removed torrents.

Implementation

Future<TorrentGetResponse> torrentGet(List<TorrentGetArgument> fields,
    {TorrentIds? ids, RpcTag? tag, int? timeout});