toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'totalTracksPlayed': totalTracksPlayed,
  'currentQueueSize': currentQueueSize,
  'historySize': historySize,
  'isPlaying': isPlaying,
  'isPaused': isPaused,
  'currentVolume': currentVolume,
  'repeatMode': repeatMode,
};