PlaybackState constructor
PlaybackState({
- required ProcessingState processingState,
- required bool playing,
- required String title,
- required int position,
- required int duration,
- required int timestamp,
- double speed = 1.0,
- double volume = 1.0,
- String? artist,
- String? album,
- String? url,
- String? artUri,
- String? genre,
- int? trackNumber,
- int? trackCount,
- int? year,
Creates a new PlaybackState
Implementation
PlaybackState({
required this.processingState,
required this.playing,
required this.title,
required this.position,
required this.duration,
required this.timestamp,
this.speed = 1.0,
this.volume = 1.0,
this.artist,
this.album,
this.url,
this.artUri,
this.genre,
this.trackNumber,
this.trackCount,
this.year,
});