scrobble method
Implementation
Future<ScrobbleResponse> scrobble({
String? album,
String? albumArtist,
int? trackNumber,
Duration? duration,
DateTime? timestamp,
String? context,
String? streamId,
bool chosenByUser = false,
String? mbid,
}) async {
timestamp ??= DateTime.now();
return await _trackMethods.scrobble(
track: name,
album: album ?? this.album?.name,
artist: artist?.name ?? '',
albumArtist: albumArtist,
trackNumber: trackNumber,
duration: duration ?? this.duration,
timestamp: timestamp,
context: context,
streamId: streamId,
chosenByUser: chosenByUser,
mbid: mbid ?? this.mbid,
);
}