SpotifyTrack constructor
SpotifyTrack({})
Implementation
SpotifyTrack({
String? id,
String? title,
String? album,
String? artist,
String? image,
String? source,
DateTime? createdAt,
Duration duration = Duration.zero,
Duration position = Duration.zero,
NowPlayingState state = NowPlayingState.stopped,
}) : this._imageUrl = image,
super(
id: id,
title: title,
album: album,
artist: artist,
duration: duration,
position: position,
state: state,
source: source,
createdAt: createdAt,
);