TorrentAddRequestParam.build constructor

TorrentAddRequestParam.build({
  1. ServerRpcVersion? version,
  2. required TorrentAddRequestArgs args,
})

Implementation

factory TorrentAddRequestParam.build(
        {ServerRpcVersion? version, required TorrentAddRequestArgs args}) =>
    buildRequestParam1(version, args,
        nullVersionBuilder: (args) => _TorrentAddRequestParam(args: args),
        defaultVersionBuilder: (args) => _TorrentAddRequestParam(args: args),
        versionBuilers: _verionBuilderMap);