TorrentInfo class
Constructors
-
TorrentInfo({num? activityDate, num? addedDate, Availability? availability, num? bandwidthPriority, String? comment, num? corruptEver, String? creator, num? dateCreated, num? desiredAvailable, num? doneDate, String? downloadDir, num? downloadedEver, num? downloadLimit, bool? downloadLimited, num? editDate, num? error, String? errorString, num? eta, num? etaIdle, num? fileCount, List<
File> ? files, List<FileStat> ? fileStats, String? group, num? haveUnchecked, num? haveValid, bool? honorsSessionLimits, TorrentId? id, bool? isFinished, bool? isPrivate, bool? isStalled, List<String> ? labels, num? leftUntilDone, String? magnetLink, num? manualAnnounceTime, num? maxConnectedPeers, num? metadataPercentComplete, String? name, num? peerLimit, List<Peer> ? peers, num? peersConnected, PeersFrom? peersFrom, num? peersGettingFromUs, num? peersSendingToUs, num? percentComplete, num? percentDone, String? pieces, num? pieceCount, num? pieceSize, List<num> ? priorities, String? primaryMimeType, num? queuePosition, num? rateDownload, num? rateUpload, num? recheckProgress, num? secondsDownloading, num? secondsSeeding, num? seedIdleLimit, IdleLimitMode? seedIdleMode, num? seedRatioLimit, RatioLimitMode? seedRatioMode, bool? sequentialDownload, num? sizeWhenDone, num? startDate, TorrentStatus? status, List<Tracker> ? trackers, TrackerList? trackerList, List<TrackerStat> ? trackerStats, num? totalSize, String? torrentFile, num? uploadedEver, num? uploadLimit, bool? uploadLimited, num? uploadRatio, List<bool> ? wanted, List<String> ? webseeds, num? webseedsSendingToUs}) - TorrentInfo.fromJson(JsonMap rawData)
-
factory
Properties
- activityDate → num?
-
final
- addedDate → num?
-
final
- availability → Availability?
-
final
- bandwidthPriority → num?
-
final
- comment → String?
-
final
- corruptEver → num?
-
final
- creator → String?
-
final
- dateCreated → num?
-
final
- desiredAvailable → num?
-
final
- doneDate → num?
-
final
- downloadDir → String?
-
final
- downloadedEver → num?
-
final
- downloadLimit → num?
-
final
- downloadLimited → bool?
-
final
- editDate → num?
-
final
- error → num?
-
final
- errorString → String?
-
final
- eta → num?
-
final
- etaIdle → num?
-
final
- fileCount → num?
-
final
-
files
→ List<
File> ? -
final
-
fileStats
→ List<
FileStat> ? -
final
- group → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- haveUnchecked → num?
-
final
- haveValid → num?
-
final
- honorsSessionLimits → bool?
-
final
- id → TorrentId?
-
final
- isFinished → bool?
-
final
- isPrivate → bool?
-
final
- isStalled → bool?
-
final
-
labels
→ List<
String> ? -
final
- leftUntilDone → num?
-
final
- magnetLink → String?
-
final
- manualAnnounceTime → num?
-
final
- maxConnectedPeers → num?
-
final
- metadataPercentComplete → num?
-
final
- name → String?
-
final
- peerLimit → num?
-
final
-
peers
→ List<
Peer> ? -
final
- peersConnected → num?
-
final
- peersFrom → PeersFrom?
-
final
- peersGettingFromUs → num?
-
final
- peersSendingToUs → num?
-
final
- percentComplete → num?
-
final
- percentDone → num?
-
final
- pieceCount → num?
-
final
- pieces → String?
-
final
- pieceSize → num?
-
final
- primaryMimeType → String?
-
final
-
priorities
→ List<
num> ? -
final
- queuePosition → num?
-
final
- rateDownload → num?
-
final
- rateUpload → num?
-
final
- recheckProgress → num?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondsDownloading → num?
-
final
- secondsSeeding → num?
-
final
- seedIdleLimit → num?
-
final
- seedIdleMode → IdleLimitMode?
-
final
- seedRatioLimit → num?
-
final
- seedRatioMode → RatioLimitMode?
-
final
- sequentialDownload → bool?
-
final
- sizeWhenDone → num?
-
final
- startDate → num?
-
final
- status → TorrentStatus?
-
final
- torrentFile → String?
-
final
- totalSize → num?
-
final
- trackerList → TrackerList?
-
final
-
trackers
→ List<
Tracker> ? -
final
-
trackerStats
→ List<
TrackerStat> ? -
final
- uploadedEver → num?
-
final
- uploadLimit → num?
-
final
- uploadLimited → bool?
-
final
- uploadRatio → num?
-
final
-
wanted
→ List<
bool> ? -
final
-
webseeds
→ List<
String> ? -
final
- webseedsSendingToUs → num?
-
final
Methods
-
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
Static Methods
-
buildPriorities(
List? rawData) → List< num> ? -
buildWanted(
List? rawData) → List< bool> ?