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 {
  await _client.deleteNotifications(
    api.DeleteNotificationsRequest(
      ids: notificationIds,
    ),
    options: _getSessionCallOptions(session),
  );
}