PlayQueueUpdate class
- Available extensions
- Annotations
-
- @CopyWith.new()
- @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
PlayQueueUpdate({PlayQueueUpdateReason? reason, DateTime? lastUpdate, List<
SyncPlayQueueItem> ? playlist, int? playingItemIndex, int? startPositionTicks, bool? isPlaying, GroupShuffleMode? shuffleMode, GroupRepeatMode? repeatMode}) - Returns a new PlayQueueUpdate instance.
-
PlayQueueUpdate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$PlayQueueUpdateCWProxy
-
Available on PlayQueueUpdate, provided by the $PlayQueueUpdateCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfPlayQueueUpdate.copyWith(...)orinstanceOfPlayQueueUpdate.copyWith.fieldName(...).no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- isPlaying → bool?
-
Gets a value indicating whether the current item is playing.
final
- lastUpdate → DateTime?
-
Gets the UTC time of the last change to the playing queue.
final
- playingItemIndex → int?
-
Gets the playing item index in the playlist.
final
-
playlist
→ List<
SyncPlayQueueItem> ? -
Gets the playlist.
final
- reason → PlayQueueUpdateReason?
-
Gets the request type that originated this update.
final
- repeatMode → GroupRepeatMode?
-
Gets the repeat mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shuffleMode → GroupShuffleMode?
-
Gets the shuffle mode.
final
- startPositionTicks → int?
-
Gets the start position ticks.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override