PlexDownloadQueueItem class final Events and downloads
An item of a download queue (DownloadQueueItem).
Constructors
-
PlexDownloadQueueItem({required int id, int? queueId, String? key, String? status, String? error, PlexTranscodeDecision? decision, Map<
String, Object?> ? transcodeSession, Map<String, Object?> raw = const {}}) -
Builds an item.
const
-
PlexDownloadQueueItem.fromJson(Map<
String, Object?> json) -
Parses one
DownloadQueueItem.factory
Properties
- decision → PlexTranscodeDecision?
-
The decision for the item (
DecisionResult), when made.final - error → String?
-
The error, when status is
error(decisionError, …).final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Item id.
final
- key → String?
-
The rating key of what is downloaded.
final
- queueId → int?
-
The queue it is in.
final
-
raw
→ Map<
String, Object?> -
The entry as received.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
Status (
deciding,waiting,processing,available,error, …).final -
transcodeSession
→ Map<
String, Object?> ? -
The transcode producing it (
TranscodeSession), as received.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