MediaInfo class

Constructors

MediaInfo({String? title, String? artist, String? album, int? queueIndex, String? packageName, Uint8List? albumArt, bool isPlaying = false, PlaybackState state = PlaybackState.none})
MediaInfo.fromMap(Map map, {bool updateArt = true, MediaInfo? oldMedia})
factory

Properties

album String?
final
albumArt Uint8List?
final
artist String?
final
hashCode int
The hash code for this object.
no setterinherited
isPlaying bool
final
packageName String?
final
queueIndex int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state PlaybackState
final
title String?
final

Methods

copyWith({String? title, String? artist, String? album, int? queueIndex, String? packageName, Uint8List? albumArt, bool? isPlaying, PlaybackState? state}) MediaInfo
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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