deleteNotifications method

  1. @override
Future<void> deleteNotifications({
  1. required Session session,
  2. required Iterable<String> notificationIds,
})
override

Deleting notifications

Players can delete notifications once they’ve read them.

Implementation

@override
Future<void> deleteNotifications({
  required model.Session session,
  required Iterable<String> notificationIds,
}) async {
  _session = session;

  await _api.v2NotificationDelete(
    ids: notificationIds.toList(growable: false),
  );
}