TorrentSetRequestArgs class

Mixed-in types

Constructors

TorrentSetRequestArgs({required TorrentIds<TorrentId> ids, num? bandwidthPriority, num? downloadLimit, bool? downloadLimited, FileIndices? filesUnwanted, FileIndices? filesWanted, bool? honorsSessionLimits, String? location, num? peerLimit, FileIndices? priorityHigh, FileIndices? priorityLow, FileIndices? priorityNormal, num? queuePosition, num? seedIdleLimit, IdleLimitMode? seedIdleMode, num? seedRatioLimit, RatioLimitMode? seedRatioMode, bool? sequentialDownload, List<String>? trackerAdd, List<TrackerId>? trackerRemove, List<TrackerReplace>? trackerReplace, num? uploadLimit, bool? uploadLimited, List<String>? labels, String? group, TrackerListIter? trackerList})
const

Properties

bandwidthPriority num?
Gets the bandwidth priority of the torrent.
final
downloadLimit num?
Gets the maximum download speed of the torrent (in KBps).
final
downloadLimited bool?
Indicates whether the download limit is honored.
final
filesUnwanted FileIndices?
Gets the indices of unwanted files.
final
filesWanted FileIndices?
Gets the indices of wanted files.
final
group String?
Gets the name of the torrent's bandwidth group. (new in rpc-version 17)
final
hashCode int
The hash code for this object.
no setterinherited
honorsSessionLimits bool?
Indicates whether session upload limits are honored.
final
ids TorrentIds<TorrentId>
Gets the IDs of torrents.
final
labels List<String>?
Gets the array of string labels. (new in rpc-version 16)
final
location String?
Gets the location of the torrent's content.
final
peerLimit num?
Gets the maximum number of peers.
final
priorityHigh FileIndices?
Gets the indices of high-priority files.
final
priorityLow FileIndices?
Gets the indices of low-priority files.
final
priorityNormal FileIndices?
Gets the indices of normal-priority files.
final
queuePosition num?
Gets the position of the torrent in its queue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seedIdleLimit num?
Gets the torrent-level number of minutes of seeding inactivity.
final
seedIdleMode IdleLimitMode?
Gets the seeding inactivity mode.
final
seedRatioLimit num?
Gets the torrent-level seeding ratio limit.
final
seedRatioMode RatioLimitMode?
Gets the seeding ratio mode.
final
sequentialDownload bool?
Indicates whether to download torrent pieces sequentially. (new in rpc-version 19)
final
trackerAdd List<String>?
Deprecated in rpc-version>=17, use trackerList instead. Gets the list of tracker URLs to add.
final
trackerList TrackerListIter?
Gets the list of tracker URLs. (new in rpc-version 17)
final
trackerRemove List<TrackerId>?
Deprecated in rpc-version>=17, use trackerList instead. Gets the list of trackers to remove.
final
trackerReplace List<TrackerReplace>?
Deprecated in rpc-version>=17, use trackerList instead. Gets the list of trackers to replace.
final
uploadLimit num?
Gets the maximum upload speed of the torrent (in KBps).
final
uploadLimited bool?
Indicates whether the upload limit is honored.
final

Methods

copyWith({TorrentIds<TorrentId>? ids, num? bandwidthPriority, num? downloadLimit, bool? downloadLimited, FileIndices? filesUnwanted, FileIndices? filesWanted, bool? honorsSessionLimits, String? location, num? peerLimit, FileIndices? priorityHigh, FileIndices? priorityLow, FileIndices? priorityNormal, num? queuePosition, num? seedIdleLimit, IdleLimitMode? seedIdleMode, num? seedRatioLimit, RatioLimitMode? seedRatioMode, bool? sequentialDownload, List<String>? trackerAdd, List<TrackerId>? trackerRemove, List<TrackerReplace>? trackerReplace, num? uploadLimit, bool? uploadLimited, List<String>? labels, String? group, TrackerListIter? trackerList}) TorrentSetRequestArgs
getValueByArgument(TorrentSetArgument arg) Object?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited