NowPlayingTrack constructor
Implementation
NowPlayingTrack({
this.id,
this.title,
this.album,
this.artist,
this.duration = Duration.zero,
this.state = NowPlayingState.stopped,
this.source,
this.position = Duration.zero,
DateTime createdAt,
}) : this._createdAt = createdAt ?? DateTime.now();