PlaybackState constructor

PlaybackState({
  1. Track? item,
  2. required bool isPlaying,
  3. required int progressMs,
  4. String? repeatState,
  5. required bool shuffleState,
  6. Device? device,
})

Implementation

PlaybackState({
  this.item,
  required this.isPlaying,
  required this.progressMs,
  this.repeatState,
  required this.shuffleState,
  this.device,
});