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