updateNotification method

Future<void> updateNotification()

Implementation

Future<void> updateNotification() async {
  if (_notificationData != null) {
    final player = _notificationData!.player;
    final title = _notificationData!.title;
    final artist = _notificationData!.artist;
    final clipArt = _notificationData!.clipArt;

    return showNotification(player: player, title: title, artist: artist, clipArt: clipArt);
  }
}