updateNotification method

  1. @override
Future<Notification> updateNotification(
  1. Notification notification
)
override

Updates a notification by posting the updated notification to the server.

Returns the updated notification from the server.

Implementation

@override
Future<Notification> updateNotification(Notification notification) async {
  log.warning(
    "Tried to update notifications when the user is not logged in. This should not happen.",
  );

  return notification;
}