torrentGetAll method

Future<TorrentGetResponse> torrentGetAll(
  1. TorrentIds<TorrentId> ids, {
  2. RpcTag? tag,
  3. int? timeout,
})

Implementation

Future<TorrentGetResponse> torrentGetAll(TorrentIds ids,
        {RpcTag? tag, int? timeout}) =>
    checkAndCallApi(
      TorrentGetRequestParam.build(
          version: serverRpcVersion, ids: ids, fields: null),
      method: TransmissionRpcMethod.torrentGet,
      tag: tag,
      timeout: timeout,
      responseParamBuilder: (rawParam) =>
          TorrentGetResponseParam.fromJson(rawParam),
    );