TorrentAddRequestArgs class

Mixed-in types

Constructors

TorrentAddRequestArgs({required TorrentAddFileInfo fileInfo, List<Cookie>? cookies, String? downloadDir, bool? paused, num? peerLimit, num? bandwidthPriority, FileIndices? filesWanted, FileIndices? filesUnwanted, FileIndices? priorityHigh, FileIndices? priorityLow, FileIndices? priorityNormal, List<String>? labels})

Properties

bandwidthPriority → num?
Priority for the torrent's bandwidth.
final
cookies → List<Cookie>?
One or more cookies.
final
downloadDir → String?
Path to download the torrent to.
final
fileInfo → TorrentAddFileInfo
Information about the torrent's files.
final
filesUnwanted → FileIndices?
Indices of file(s) not to be downloaded.
final
filesWanted → FileIndices?
Indices of file(s) to be downloaded.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → List<String>?
Array of string labels. (new in rpc-version 17)
final
paused → bool?
Indicates whether the torrent should be added in a paused state.
final
peerLimit → num?
Maximum number of peers for the torrent.
final
priorityHigh → FileIndices?
Indices of high-priority file(s).
final
priorityLow → FileIndices?
Indices of low-priority file(s).
final
priorityNormal → FileIndices?
Indices of normal-priority file(s).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({TorrentAddFileInfo? fileInfo, List<Cookie>? cookies, String? downloadDir, bool? paused, num? peerLimit, num? bandwidthPriority, FileIndices? filesWanted, FileIndices? filesUnwanted, FileIndices? priorityHigh, FileIndices? priorityLow, FileIndices? priorityNormal, List<String>? labels}) → TorrentAddRequestArgs
getValueByArgument(TorrentAddArgument 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