TorrentAddResponseParam.fromJson constructor

TorrentAddResponseParam.fromJson(
  1. JsonMap rawData, {
  2. ServerRpcVersion? version,
})

Implementation

factory TorrentAddResponseParam.fromJson(JsonMap rawData,
        {ServerRpcVersion? version}) =>
    buildResponseParam1(version, rawData,
        nullVersionBuilder: (rawData) =>
            _TorrentAddResponseParam.fromJson(rawData),
        defaultVersionBuilder: (rawData) =>
            _TorrentAddResponseParam.fromJson(rawData),
        versionBuilers: _verionBuilderMap);