SpotifyPlaybackState constructor

const SpotifyPlaybackState({
  1. required String uri,
  2. required String name,
  3. required String artist,
  4. required bool isPaused,
  5. required int positionMs,
  6. required int durationMs,
  7. String? imageUrl,
})

Implementation

const SpotifyPlaybackState({
  required this.uri,
  required this.name,
  required this.artist,
  required this.isPaused,
  required this.positionMs,
  required this.durationMs,
  this.imageUrl,
});